Skip to content

Commit 308336d

Browse files
committed
chore(pre-commit): add conventional-pre-commit
1 parent d8cb944 commit 308336d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
default_install_hook_types:
2+
- pre-commit
3+
- commit-msg
4+
15
repos:
26
- repo: https://github.com/pre-commit/pre-commit-hooks
37
rev: v5.0.0
@@ -14,3 +18,9 @@ repos:
1418
args: [ --fix ]
1519
# Run the formatter.
1620
- id: ruff-format
21+
- repo: https://github.com/compilerla/conventional-pre-commit
22+
rev: v4.0.0
23+
hooks:
24+
- id: conventional-pre-commit
25+
stages: [ commit-msg ]
26+
args: [ --verbose, --strict, fix, feat, test, docs, build, ci, chore, style, revert, refactor, perf, release ]

0 commit comments

Comments
 (0)