From fd9175925e3679fa04393707fa5b03659ed14b18 Mon Sep 17 00:00:00 2001 From: nitrix Date: Fri, 6 Mar 2026 22:54:41 +0100 Subject: [PATCH] Use vue-tsc --build in frontend hook to match CI The hook used --noEmit which is less strict than CI's --build, causing type errors to slip through. Co-Authored-By: Claude Opus 4.6 --- .claude/hooks/frontend-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/hooks/frontend-check.sh b/.claude/hooks/frontend-check.sh index 92606af..43a3002 100755 --- a/.claude/hooks/frontend-check.sh +++ b/.claude/hooks/frontend-check.sh @@ -16,7 +16,7 @@ cd "$CLAUDE_PROJECT_DIR/frontend" ERRORS="" # Type-check -if OUTPUT=$(npx vue-tsc --noEmit 2>&1); then +if OUTPUT=$(npm run type-check 2>&1); then : else ERRORS+="Type-check failed:\n$OUTPUT\n\n"