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 15, 2024
1 parent da88fcd commit 5aeadbb
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 @@ -61,7 +61,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,yml,yaml}": [
Expand Down

0 comments on commit 5aeadbb

Please sign in to comment.