Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6716eaa

Browse files
committed
docs(check): fix pre-commit setup
1 parent b6e5ef6 commit 6716eaa

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/check.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ python -m pip install pre-commit
1414
* Step 2: Create `.pre-commit-config.yaml` at your root directory with the following content
1515

1616
```yaml
17-
- repo: https://github.com/Woile/commitizen
18-
rev: master
19-
stages: [commit-msg]
20-
hooks:
21-
- id: commitizen
17+
---
18+
repos:
19+
- repo: https://github.com/Woile/commitizen
20+
rev: master
21+
hooks:
22+
- id: commitizen
23+
stages: [commit-msg]
2224
```
2325
2426
* Step 3: Install the configuration into git hook through `pre-commit`

0 commit comments

Comments
 (0)