#lint
1 articles
-
Run lint after every edit in Claude Code: a PostToolUse hook on Edit|Write|MultiEdit
A PostToolUse hook with matcher "Edit|Write|MultiEdit" runs Prettier, ESLint or ruff after every edit. Read the path from tool_input.file_path and feed failures back to Claude.