mirror of
https://github.com/duthaho/claudekit.git
synced 2026-06-26 11:24:37 +03:00
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(git:*)",
|
|
"Bash(npm:*)",
|
|
"Bash(npx:*)",
|
|
"Bash(pnpm:*)",
|
|
"Bash(yarn:*)",
|
|
"Bash(pip:*)",
|
|
"Bash(poetry:*)",
|
|
"Bash(python:*)",
|
|
"Bash(node:*)",
|
|
"Bash(pytest:*)",
|
|
"Bash(ruff:*)",
|
|
"Bash(eslint:*)",
|
|
"Bash(prettier:*)",
|
|
"Bash(tsc:*)",
|
|
"Bash(docker:*)",
|
|
"Bash(gh:*)"
|
|
],
|
|
"deny": [
|
|
"Read(.env*)",
|
|
"Write(.env*)",
|
|
"Edit(.env*)",
|
|
"Read(**/secrets/**)",
|
|
"Write(**/secrets/**)",
|
|
"Edit(**/secrets/**)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node .claude/hooks/block-dangerous-commands.cjs"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Write|Edit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node .claude/hooks/auto-format.cjs"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Notification": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node .claude/hooks/notify.cjs"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|