16 lines
252 B
JSON
16 lines
252 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Write|Edit|MultiEdit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/branch-protection.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|