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": { "hooks": [
"PreToolUse": [ {
{ "event": "PreToolUse",
"matcher": "Bash", "matcher": "Bash",
"hooks": [ "type": "command",
{ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh"
"type": "command", },
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh" {
}, "event": "PreToolUse",
{ "matcher": "Bash",
"type": "command", "type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh" "command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh"
} }
] ]
}
]
}
} }