Skip to content

Commit

Permalink
Fix Git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 20, 2023
1 parent 19ad88b commit a77fa55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd beta
yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids",
"tsc": "tsc --noEmit",
"start": "next start",
"postinstall": "patch-package && (is-ci || (cd .. && husky install .husky))",
"postinstall": "patch-package && (is-ci || husky install .husky)",
"check-all": "npm-run-all prettier lint:fix tsc"
},
"dependencies": {
Expand Down

0 comments on commit a77fa55

Please sign in to comment.