50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(pnpm gate)",
|
|
"Bash(pnpm typecheck)",
|
|
"Bash(pnpm lint)",
|
|
"Bash(pnpm format)",
|
|
"Bash(pnpm boundaries)",
|
|
"Bash(pnpm test)",
|
|
"Bash(pnpm test:unit)",
|
|
"Bash(pnpm test:isolation)",
|
|
"Bash(pnpm build)",
|
|
"Bash(pnpm kit check)",
|
|
"Bash(pnpm kit gate)",
|
|
"Bash(pnpm exec vitest run *)",
|
|
"Bash(pnpm exec biome check *)",
|
|
"Bash(pnpm exec biome format *)",
|
|
"Bash(git status *)",
|
|
"Bash(git diff *)",
|
|
"Bash(git log *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit *)"
|
|
],
|
|
"ask": [
|
|
"Bash(git push *)",
|
|
"Bash(pnpm migrate *)",
|
|
"Bash(pnpm add *)",
|
|
"Edit(/conusai.json)",
|
|
"Edit(/migrations/**)",
|
|
"Edit(/.gitea/**)"
|
|
],
|
|
"deny": [
|
|
"Read(/.env)",
|
|
"Read(/.env.local)",
|
|
"Read(/.env.*.local)",
|
|
"Bash(git push --force *)",
|
|
"Bash(git push -f *)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|MultiEdit",
|
|
"hooks": [{ "type": "command", "command": "node \"$CLAUDE_PROJECT_DIR/scripts/agent-format.mjs\"" }]
|
|
}
|
|
]
|
|
}
|
|
}
|