Skip to content

Commit a21c0dc

Browse files
authored
chore(husky): fix husky v7 hooks (chimurai#682)
1 parent 9986a6f commit a21c0dc

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)