mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
16 lines
367 B
JSON
16 lines
367 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "jq -r '.tool_input.command // \"\"' | grep -qE '^git commit' && cd \"$CLAUDE_PROJECT_DIR\" && echo '🔍 Running pre-commit before commit...' && pre-commit run || true"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|