Skip to content

Commit

Permalink
migrate to husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Jan 26, 2024
1 parent 95746a8 commit d86df92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npx 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 @@
"scripts": {
"build": "hexo generate",
"eslint": "eslint .",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"cheerio": "^0.22.0",
Expand Down

0 comments on commit d86df92

Please sign in to comment.