{ "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" } ] } ] } }