From b31aa44d4087f6f495db75c74259e780a87f260d Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 28 Jun 2023 19:24:37 +0800 Subject: [PATCH] chore: update pre-commit hook (#2904) --- .husky/pre-commit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index b1896feff7..32b8b845e6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,7 +2,10 @@ . "$(dirname -- "$0")/_/husky.sh" # check lockfile is up to date -yarn install +yarn install --mode=update-lockfile # lint staged files yarn exec lint-staged + +# type check +yarn typecheck