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