Skip to content

Commit 13e489d

Browse files
Update README.md
* README.md
1 parent b50bc6a commit 13e489d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ Enforce rules regarding frozen revisions in `.pre-commit-config.yaml`.
1010
```yaml
1111
# Enforce frozen revisions in `.pre-commit-config.yaml`
1212
- repo: https://github.com/real-yfprojects/check-pre-commit-config
13-
rev: v1.0.0
13+
rev: v1.0.0-alpha1
1414
hooks:
1515
- id: check-frozen
1616
```
1717
18+
We advise to put this hook before any yaml formatters (like prettier) that you have configured as well.
19+
1820
## Features
1921
2022
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
8789
```yaml
8890
# Prevent use of frozen revisions in `.pre-commit-config.yaml`
8991
- repo: https://github.com/real-yfprojects/check-pre-commit-config
90-
rev: v1.0.0
92+
rev: v1.0.0-alpha1
9193
hooks:
9294
- id: check-frozen
9395
args:
@@ -101,7 +103,7 @@ If you just want to make sure that comments match revisions and that no abbrevia
101103
```yaml
102104
# Check use of `frozen: xxx` comments in `.pre-commit-config.yaml`
103105
- repo: https://github.com/real-yfprojects/check-pre-commit-config
104-
rev: v1.0.0
106+
rev: v1.0.0-alpha1
105107
hooks:
106108
- id: check-frozen
107109
args:

0 commit comments

Comments
 (0)