18 lines
355 B
JSON
18 lines
355 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Write|Edit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-innerhtml.sh",
|
|
"timeout": 10,
|
|
"statusMessage": "Checking for innerHTML writes..."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|