Skip to content

Commit

Permalink
fix(ci): migrate to husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Jan 30, 2024
1 parent 8fc08d6 commit 77badcd
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 @@ -21,7 +21,7 @@
"lint:json": "prettier -c \"**/*.json(c)?\"",
"lint:md": "markdownlint-cli2 \"**/*.md\" && node ./scripts/check-url-locale.js files && yarn autocorrect --lint . && prettier -c \"**/*.md\"",
"lint:yml": "prettier -c \"**/*.yml\"",
"prepare": "husky install"
"prepare": "husky || true"
},
"engines": {
"node": ">=18.0.0"
Expand Down

0 comments on commit 77badcd

Please sign in to comment.