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

Commit 3bbba93

Browse files
chore: add commitizen and prepare-commit-msg husky hook
1 parent ae4629c commit 3bbba93

File tree

4 files changed

+1371
-6
lines changed

4 files changed

+1371
-6
lines changed

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "cz-conventional-changelog"
3+
}

.husky/prepare-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+
exec < /dev/tty && npx cz --hook || true

0 commit comments

Comments
 (0)