1
1
---
2
2
fail_fast : false
3
-
4
3
default_stages :
5
4
- commit
6
5
- push
7
6
7
+ exclude : (dist/.*)
8
+
8
9
repos :
9
10
- repo : https://github.com/thlorenz/doctoc
10
11
rev : v2.2.0
@@ -17,38 +18,8 @@ repos:
17
18
- --github
18
19
- --notitle
19
20
20
- - repo : https://github.com/adrienverge/yamllint
21
- rev : v1.28.0
22
- hooks :
23
- - id : yamllint
24
- args :
25
- - --config-file
26
- - .yamllint.yaml
27
-
28
- - repo : https://github.com/Lucas-C/pre-commit-hooks
29
- rev : v1.3.1
30
- hooks :
31
- - id : remove-crlf
32
- exclude : (dist/index.mjs)
33
- - id : remove-tabs
34
- exclude : (dist/index.mjs|dist/595.index.mjs)
35
-
36
- - repo : https://github.com/sirosen/texthooks
37
- rev : 0.4.0
38
- exclude : (dist/**)
39
- hooks :
40
- - id : fix-smartquotes
41
- exclude : (dist/index.mjs)
42
- - id : fix-ligatures
43
- - id : forbid-bidi-controls
44
-
45
- - repo : https://github.com/k8s-at-home/sops-pre-commit
46
- rev : v2.1.1
47
- hooks :
48
- - id : forbid-secrets
49
-
50
21
- repo : https://github.com/pre-commit/pre-commit-hooks
51
- rev : v4.3 .0
22
+ rev : v4.5 .0
52
23
hooks :
53
24
- id : check-merge-conflict
54
25
- id : check-added-large-files
@@ -68,24 +39,43 @@ repos:
68
39
- id : end-of-file-fixer
69
40
- id : fix-byte-order-marker
70
41
- id : mixed-line-ending
71
- exclude : (dist/index.mjs)
72
42
args :
73
43
- --fix=auto
74
44
- id : trailing-whitespace
75
- exclude : (dist/index.mjs)
76
45
args :
77
46
- --markdown-linebreak-ext=md
78
47
48
+ - repo : https://github.com/adrienverge/yamllint
49
+ rev : v1.33.0
50
+ hooks :
51
+ - id : yamllint
52
+ args :
53
+ - --config-file
54
+ - .yamllint.yaml
55
+
56
+ - repo : https://github.com/Lucas-C/pre-commit-hooks
57
+ rev : v1.4.2
58
+ hooks :
59
+ - id : remove-crlf
60
+ - id : remove-tabs
61
+
62
+ - repo : https://github.com/sirosen/texthooks
63
+ rev : 0.6.2
64
+ hooks :
65
+ - id : fix-smartquotes
66
+ - id : fix-ligatures
67
+ - id : forbid-bidi-controls
68
+
79
69
- repo : https://github.com/igorshubovych/markdownlint-cli
80
- rev : v0.32.2
70
+ rev : v0.37.0
81
71
hooks :
82
72
- id : markdownlint-fix
83
73
args :
84
74
- --config
85
75
- .markdownlint.yaml
86
76
87
77
- repo : https://github.com/pre-commit/mirrors-prettier
88
- rev : v3.0.0-alpha.4
78
+ rev : v3.1.0
89
79
hooks :
90
80
- id : prettier
91
81
args :
@@ -94,7 +84,12 @@ repos:
94
84
- --config
95
85
- .prettierrc.js
96
86
87
+ - repo : https://github.com/k8s-at-home/sops-pre-commit
88
+ rev : v2.1.1
89
+ hooks :
90
+ - id : forbid-secrets
91
+
97
92
- repo : https://github.com/zricethezav/gitleaks
98
- rev : v8.12.0
93
+ rev : v8.18.1
99
94
hooks :
100
95
- id : gitleaks
0 commit comments