diff --git a/.husky/pre-commit b/.husky/pre-commit index 9706d252..1291fe59 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -10,5 +10,5 @@ command -v npm >/dev/null 2>&1 || { exit 1 } -# Use lint-staged for faster pre-commit checks (only on changed files) -npm run lint:staged +# Full linting with cache for performance (97% faster on subsequent runs) +npm run lint && npm run tsc