Skip to content

Commit d5da9b3

Browse files
committed
feat: local precommit check
1 parent 2725055 commit d5da9b3

File tree

4 files changed

+371
-25
lines changed

4 files changed

+371
-25
lines changed

.husky/commit-msg

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

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)