.claude/settings.json
|
{
"hooks": { "PreToolUse": [ { "matcher": "Edit|Write", "hooks": [ { "type": "command", "command": "pwsh -NoProfile -File .claude/hooks/validate-style.ps1" } ] }, { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash .claude/hooks/prevent-destructive-git.sh" } ] } ] } } |