Skip to content

Commit 5560d97

Browse files
iirojokonet
authored andcommitted
fix: migrate husky@6
1 parent ab7a211 commit 5560d97

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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+
node bin/lint-staged.js

package.json

-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
"test": "jest --coverage",
2727
"test:watch": "jest --watch"
2828
},
29-
"husky": {
30-
"hooks": {
31-
"pre-commit": "./bin/lint-staged.js"
32-
}
33-
},
3429
"dependencies": {
3530
"chalk": "^4.1.1",
3631
"cli-truncate": "^2.1.0",

0 commit comments

Comments
 (0)