-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
107 lines (97 loc) · 2.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
# yaml-language-server: $schema=https://json.schemastore.org/pre-commit-config
fail_fast: false
repos:
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.17.2
hooks:
- id: markdownlint-cli2
args:
- --config
- .ci/markdownlint/.markdownlint.yaml
- repo: https://github.com/trufflesecurity/trufflehog
rev: v3.88.10
hooks:
- id: trufflehog
- repo: https://github.com/sirosen/texthooks
rev: 0.6.8
hooks:
- id: fix-spaces
- id: alphabetize-codeowners
- id: fix-ligatures
- id: fix-smartquotes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: fix-byte-order-marker
stages:
- pre-commit
- id: end-of-file-fixer
stages:
- pre-commit
- id: trailing-whitespace
stages:
- pre-commit
- id: mixed-line-ending
stages:
- pre-commit
- id: check-executables-have-shebangs
stages:
- pre-commit
- id: check-added-large-files
args:
- "--maxkb=4096"
- id: check-json
stages:
- pre-commit
- id: check-merge-conflict
stages:
- pre-commit
- id: check-case-conflict
stages:
- pre-commit
- id: detect-private-key
stages:
- pre-commit
- repo: https://github.com/google/yamlfmt
rev: v0.16.0
hooks:
- id: yamlfmt
language: system
args:
- --conf
- .ci/yamlfmt/.yamlfmt
- repo: https://github.com/google/go-jsonnet
rev: v0.20.0
hooks:
- id: jsonnet-format
- id: jsonnet-lint
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs
exclude: '\.go$'
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
language: script
args:
- --severity=error
additional_dependencies: []
- repo: https://github.com/cisagov/pre-commit-shfmt
rev: v0.0.2
hooks:
- id: shfmt
args:
- -w
- -s
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.2.2
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- post-commit
- pre-push