Skip to content

Commit 8118853

Browse files
committed
chore: add husky hook for commitlint
1 parent f4d5ac0 commit 8118853

File tree

4 files changed

+27
-351
lines changed

4 files changed

+27
-351
lines changed

Diff for: .husky/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

Diff for: .husky/commit-msg

+4
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 --no-install commitlint --edit "$1"

0 commit comments

Comments
 (0)