Skip to content

Commit 338323e

Browse files
committed
ci: Add commitlint to pre-commit
1 parent f8fb1fa commit 338323e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ repos:
2121
hooks:
2222
- id: black
2323

24+
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
25+
rev: v9.16.0
26+
hooks:
27+
- id: commitlint
28+
stages: [commit-msg]
29+
additional_dependencies: ['@commitlint/config-conventional']
2430
ci:
2531
# autofix_commit_msg: |
2632
# [pre-commit.ci] auto fixes from pre-commit.com hooks

0 commit comments

Comments
 (0)