From 79f0a22b7ebe39a3b178d68da4bc5c247f1a1e7f Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Sat, 21 Mar 2026 10:57:24 -0700 Subject: [PATCH] Add npm run typecheck as Stop hook in Claude settings Runs a full project typecheck at the end of each Claude turn so type errors surface as feedback before the next message. Co-Authored-By: Claude Sonnet 4.6 --- .claude/settings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index ca25008..42e4124 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -10,6 +10,16 @@ } ] } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "npm run typecheck 2>&1" + } + ] + } ] } }