Files
AgentCompany/.claude/settings.json
T
2026-03-23 12:37:22 -04:00

18 lines
409 B
JSON

{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "jq -r '.tool_input.file_path' | { read -r f; echo \"$f\" | grep -qE '\\.(ts|tsx)$' && npx eslint --fix \"$f\"; } 2>/dev/null || true",
"timeout": 30,
"statusMessage": "Linting..."
}
]
}
]
}
}