Skip to content

Commit 2562f21

Browse files
committed
chore(husky): fix husky v7 hooks
1 parent 9986a6f commit 2562f21

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.husky/commit-msg

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

.husky/pre-commit

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

0 commit comments

Comments
 (0)