Skip to content

Commit 3f7cab1

Browse files
committedAug 23, 2023
fix: add pre-commit lint hook to husky
1 parent 375ef24 commit 3f7cab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx --no -- commitlint --edit ${1}
4+
npx --no -- commitlint --edit ${1} && npm run lint

0 commit comments

Comments
 (0)