diff --git a/.claude/hooks/hooks.json b/.claude/hooks/hooks.json index e2b9a69..e5c3906 100644 --- a/.claude/hooks/hooks.json +++ b/.claude/hooks/hooks.json @@ -1,23 +1,25 @@ { - "PostToolUse": [ - { - "matcher": "Edit|Write", - "hooks": [ - { - "type": "command", - "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/gate.sh lint" - } - ] - } - ], - "Stop": [ - { - "hooks": [ - { - "type": "command", - "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/gate.sh test_affected" - } - ] - } - ] + "hooks": { + "PostToolUse": [ + { + "matcher": "Edit|Write", + "hooks": [ + { + "type": "command", + "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/gate.sh lint" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/gate.sh test_affected" + } + ] + } + ] + } }