Skip to content

Commit

Permalink
fix(ci): migrate to husky v9 (#31964)
Browse files Browse the repository at this point in the history
* fix(ci): migrate to husky v9

* remove shebang as well
  • Loading branch information
OnkarRuikar authored Jan 29, 2024
1 parent 2077d07 commit 7eab8d4
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 @@ -31,7 +31,7 @@
"lint:json": "prettier -c \"**/*.json(c)?\"",
"lint:md": "markdownlint-cli2 \"**/*.md\" && prettier -c \"**/*.md\"",
"lint:yml": "prettier -c \"**/*.yml\"",
"prepare": "husky install",
"prepare": "husky || true",
"start": "yarn up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files REACT_APP_DISABLE_AUTH=true BUILD_OUT_ROOT=build yari-server",
"up-to-date-check": "node scripts/up-to-date-check.js",
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
Expand Down

0 comments on commit 7eab8d4

Please sign in to comment.