Skip to content

Commit

Permalink
chore: update husky config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 26, 2024
1 parent 706fe78 commit fae20e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"funding": "https://jaywcjlove.github.io/#/sponsor",
"private": false,
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "refs-cli",
"start": "refs-cli --watch",
"prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'",
Expand Down

0 comments on commit fae20e6

Please sign in to comment.