Files
claudekit/.claude/settings.json
T

54 lines
1018 B
JSON

{
"permissions": {
"allow": [
"Bash(git:*)",
"Bash(npm:*)",
"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:*)",
"Read(*)",
"Write(*)",
"Edit(*)"
],
"deny": []
},
"hooks": {
"PostToolUse": [
{
"matcher": {
"tool": "Write",
"files": ["*.py"]
},
"hooks": [
{
"type": "command",
"command": "ruff check --fix $FILE 2>/dev/null || true"
}
]
},
{
"matcher": {
"tool": "Write",
"files": ["*.ts", "*.tsx"]
},
"hooks": [
{
"type": "command",
"command": "npx eslint --fix $FILE 2>/dev/null || true"
}
]
}
]
}
}