Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit e8e7f3c

Browse files
committed
chore: support latest version of husky
1 parent 741cb80 commit e8e7f3c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm run pre-commit

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"format:package": "prettier-package-json --write",
2020
"format:prettier": "prettier --write \"**/*.{js,json,md,yml}\" \".editorconfig\" \"LICENSE\"",
2121
"lint": "eslint ./",
22-
"prepare": "husky install",
22+
"prepare": "husky",
2323
"validate": "npm run lint"
2424
},
2525
"dependencies": {

0 commit comments

Comments
 (0)