Skip to content

Commit fdb3498

Browse files
committed
Updated Husky configuration
1 parent 08e8b5b commit fdb3498

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-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
npm run lint
1+
pnpm lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"https": "pnpm dlx local-ssl-proxy --key localhost-key.pem --cert localhost.pem --source 3001 --target 3000",
1111
"lint": "eslint .",
1212
"lint:fix": "eslint . --fix",
13-
"prepare": "husky install",
13+
"prepare": "husky",
1414
"start": "next start"
1515
},
1616
"dependencies": {

0 commit comments

Comments
 (0)