Fix Git hooks

This commit is contained in:
Dan Abramov
2023-03-20 23:11:49 +00:00
parent 19ad88bf83
commit a77fa5589c
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
cd beta
yarn lint-staged

View File

@@ -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": {