File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ Enforce rules regarding frozen revisions in `.pre-commit-config.yaml`.
10
10
``` yaml
11
11
# Enforce frozen revisions in `.pre-commit-config.yaml`
12
12
- repo : https://github.com/real-yfprojects/check-pre-commit-config
13
- rev : v1.0.0
13
+ rev : v1.0.0-alpha1
14
14
hooks :
15
15
- id : check-frozen
16
16
` ` `
17
17
18
+ We advise to put this hook before any yaml formatters (like prettier) that you have configured as well.
19
+
18
20
## Features
19
21
20
22
This pre-commit hook ensures rules regarding the use of frozen revisions and
@@ -87,7 +89,7 @@ are passed to the underlying script when the hook is run. The following configur
87
89
``` yaml
88
90
# Prevent use of frozen revisions in `.pre-commit-config.yaml`
89
91
- repo : https://github.com/real-yfprojects/check-pre-commit-config
90
- rev : v1.0.0
92
+ rev : v1.0.0-alpha1
91
93
hooks :
92
94
- id : check-frozen
93
95
args :
@@ -101,7 +103,7 @@ If you just want to make sure that comments match revisions and that no abbrevia
101
103
` ` ` yaml
102
104
# Check use of `frozen: xxx` comments in `.pre-commit-config.yaml`
103
105
- repo : https://github.com/real-yfprojects/check-pre-commit-config
104
- rev : v1.0.0
106
+ rev : v1.0.0-alpha1
105
107
hooks :
106
108
- id : check-frozen
107
109
args :
You can’t perform that action at this time.
0 commit comments