Skip to content

Commit 8375cdd

Browse files
committed
use latest husky instructions
1 parent c49dcbd commit 8375cdd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx lint-staged
1+
pnpm exec lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"cypress:install": "cypress install && echo 'for use with ./cypress-install.js'",
3232
"lint": "prettier --check \"src/**/*.{md,js}\"",
3333
"lint:fix": "prettier --write \"src/**/*.{md,js}\"",
34-
"prepare": "husky install"
34+
"prepare": "husky"
3535
},
3636
"browserslist": {
3737
"production": [

0 commit comments

Comments
 (0)