Skip to content

Commit

Permalink
Update husky command
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 11, 2024
1 parent 44c4a88 commit facd1b9
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 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"test": "npm run lint:js && npm run test:e2e",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --debug",
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
Expand Down

0 comments on commit facd1b9

Please sign in to comment.