18 lines
377 B
JSON
18 lines
377 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|MultiEdit|NotebookEdit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"${CLAUDE_PROJECT_DIR:-.}/tool/hooks/comment_density.sh\"",
|
|
"timeout": 15,
|
|
"statusMessage": "Checking comment density"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|