mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
feat: add block-no-verify PreToolUse hook to .claude/settings.json
Prevents agents from bypassing git hooks via the hook-skip flag.
This commit is contained in:
parent
2ebe3848d6
commit
4781a7bbc1
1 changed files with 11 additions and 0 deletions
|
|
@ -10,6 +10,17 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "npx block-no-verify@1.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue