Skip to content

Commit ebd4939

Browse files
committed
chore: enforce commit message convention
1 parent 49ae386 commit ebd4939

File tree

4 files changed

+738
-4
lines changed

4 files changed

+738
-4
lines changed

.commitlintrc.json

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

.husky/commit-msg

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

0 commit comments

Comments
 (0)