Skip to content

Commit 5051af7

Browse files
authored
chore: Add conventional-pre-commit hook
Added conventional-pre-commit hook for commit-msg stage.
1 parent e4e3ec8 commit 5051af7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
#
1515
# See https://pre-commit.com for more information
1616
# See https://pre-commit.com/hooks.html for more hooks
17+
default_install_hook_types:
18+
- pre-commit
19+
- commit-msg
20+
1721
repos:
1822
- repo: https://github.com/pre-commit/pre-commit-hooks
1923
rev: v4.0.1
@@ -47,3 +51,9 @@ repos:
4751
hooks:
4852
- id: biome-check
4953
files: '\.(js|css)$'
54+
- repo: https://github.com/compilerla/conventional-pre-commit
55+
rev: fdde5f0251edbfc554795afdd6df71826d6602f3
56+
hooks:
57+
- id: conventional-pre-commit
58+
stages: [commit-msg]
59+
args: []

0 commit comments

Comments
 (0)