From c860d9ba84439c92e94ab72dd2ac94b87eeb15e8 Mon Sep 17 00:00:00 2001 From: FreeAoi Date: Tue, 16 Apr 2024 14:11:55 -0600 Subject: [PATCH] feat: typescript-check on pre-commit --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 0312b76..a4158bf 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx lint-staged \ No newline at end of file +npx tsc --noEmit && npx lint-staged \ No newline at end of file