Skip to content

Commit

Permalink
Migrate Husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
infotexture committed Feb 3, 2024
1 parent bcee7b1 commit ac0829b
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 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"fmt": "npm run format",
"format": "prettier --write \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"lint-staged": "lint-staged --no-stash",
"prepare": "husky install",
"prepare": "husky",
"prettier": "prettier --write \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"prettier-check": "prettier --check \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"stylelint": "stylelint \"**/*.css\"",
Expand Down

0 comments on commit ac0829b

Please sign in to comment.