-
Notifications
You must be signed in to change notification settings - Fork 7
/
.pre-commit-config.yaml
50 lines (50 loc) · 1.37 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
hooks:
- id: insert-license
files: '^wirequery/manager-server/src/.*\.kt$'
exclude: '^(ee|.+/ee)/.*$'
args:
- --license-filepath
- license-headers/AGPL.txt
- --comment-style
- //
- id: insert-license
files: '^wirequery/manager-web/.*\.(t|j)sx?$'
exclude: '^(ee|.+/ee)/.*$'
args:
- --license-filepath
- license-headers/AGPL.txt
- --comment-style
- //
- id: insert-license
files: '^sdk/jvm/.*\.kt$'
exclude: '^(ee|.+/ee)/.*$'
args:
- --license-filepath
- license-headers/MIT.txt
- --comment-style
- //
- id: insert-license
files: '^sdk/js/.*\.(t|j)sx?$'
exclude: '^(ee|.+/ee)/.*$'
args:
- --license-filepath
- license-headers/MIT.txt
- --comment-style
- //
- id: insert-license
files: '^(ee|.+/ee)/.*\.kt$'
args:
- --license-filepath
- license-headers/ce/WQPL.txt
- --comment-style
- //
- id: insert-license
files: '^(ee|.+/ee)/.*\.(t|j)sx?$'
args:
- --license-filepath
- license-headers/ce/WQPL.txt
- --comment-style
- //