fix(git-flow): use array format for hooks.json #300

Merged
lmiranda merged 1 commits from fix/git-flow-hooks-format into development 2026-01-29 02:25:49 +00:00
Showing only changes of commit 0acd42ea65 - Show all commits

View File

@@ -1,19 +1,16 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"event": "PreToolUse",
"matcher": "Bash",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh"
},
{
"event": "PreToolUse",
"matcher": "Bash",
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh"
}
]
}
]
}
}