brackt/.claude
Chris Parsons 286a9afbbe Fix lint hook: output additionalContext JSON so Claude sees errors in-context
Replaced the old inline command (which just printed raw text and exited
non-zero) with a small script at .claude/hooks/lint-on-edit.sh. When
oxlint finds errors, the script outputs JSON with hookSpecificOutput
.additionalContext, which explicitly injects the lint errors into
Claude's context so it fixes them immediately rather than missing a
background notification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 21:52:23 -07:00
..
hooks Fix lint hook: output additionalContext JSON so Claude sees errors in-context 2026-03-24 21:52:23 -07:00
settings.json Fix lint hook: output additionalContext JSON so Claude sees errors in-context 2026-03-24 21:52:23 -07:00