playbook/outfitter-agents/plugins/outfitter/templates/hooks/post-tool-use-formatter/hooks.json

17 lines
233 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit(*.ts)",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/format.sh",
"timeout": 30
}
]
}
]
}
}