Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 8420835

Browse files
committed
chore: add conventional commit git hook
1 parent cd60bd0 commit 8420835

File tree

4 files changed

+1300
-0
lines changed

4 files changed

+1300
-0
lines changed

.commitlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
]
5+
}

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx commitlint --edit $1

0 commit comments

Comments
 (0)