-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
61 lines (61 loc) · 1.38 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
51
52
53
54
55
56
57
58
59
60
61
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v2.2.0
hooks:
- id: commitlint
additional_dependencies: ["@commitlint/config-conventional"]
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: end-of-file-fixer
stages:
- commit
- manual
- id: check-json
- id: check-xml
- id: check-yaml
stages:
- commit
- manual
- id: check-added-large-files
args:
- "--maxkb=10000"
stages:
- commit
- manual
- id: check-case-conflict
stages:
- commit
- manual
- id: check-symlinks
stages:
- commit
- manual
- id: check-merge-conflict
stages:
- commit
- merge-commit
- manual
- id: forbid-new-submodules
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
- id: prettier
stages:
- commit
- manual
- repo: https://github.com/IamTheFij/docker-pre-commit
rev: v2.0.0
hooks:
- id: hadolint
stages:
- commit
- repo: .
rev: main
hooks:
- id: checkstyle
args: ["8.41", "-c=test/checkstyle.xml"]
stages:
- commit