diff --git a/.claude/settings.json b/.claude/settings.json deleted file mode 100644 index 9c57367..0000000 --- a/.claude/settings.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "hooks": { - "PostToolUse": [ - { - "matcher": "Edit|Write", - "command": "npx prettier --write \"$CLAUDE_FILE_PATH\" 2>/dev/null || true", - "description": "Auto-format edited files with Prettier" - } - ], - "PreToolUse": [ - { - "matcher": "Edit|Write", - "command": "if echo \"$CLAUDE_FILE_PATH\" | grep -qE '(\\.env|\\.dev\\.vars|wrangler\\.toml)$'; then echo 'BLOCK: This file contains secrets or deployment config. Edit manually.' && exit 1; fi", - "description": "Block edits to .env, .dev.vars, and wrangler.toml" - }, - { - "matcher": "Edit|Write", - "command": "if echo \"$CLAUDE_FILE_PATH\" | grep -qE '(package-lock\\.json|yarn\\.lock|pnpm-lock\\.yaml)$'; then echo 'BLOCK: Lock files should not be edited directly. Use npm install.' && exit 1; fi", - "description": "Block direct edits to lock files" - } - ] - }, - "permissions": { - "allow": [ - "Bash(cat:*)", - "Bash(chmod:*)", - "Bash(grep:*)", - "Bash(node:*)", - "Bash(npm install:*)", - "Bash(npm link)", - "Bash(npm run build:*)", - "Bash(npm run dev:*)", - "Bash(npm run format:*)", - "Bash(npm run lint:*)", - "Bash(npm test:*)", - "Bash(npm audit:*)", - "Bash(npx tsc:*)", - "Bash(npx prettier:*)", - "Bash(npx eslint:*)", - "Bash(git add:*)", - "Bash(git checkout:*)", - "Bash(git commit:*)", - "Bash(git diff:*)", - "Bash(git fetch:*)", - "Bash(git log:*)", - "Bash(git merge:*)", - "Bash(git pull:*)", - "Bash(git push:*)", - "Bash(git remote:*)", - "Bash(git stash:*)", - "Bash(git status:*)", - "Bash(git tag:*)", - "Bash(gh issue:*)", - "Bash(gh pr:*)", - "Bash(gh run:*)", - "Bash(wrangler:*)", - "Bash(dedpaste:*)", - "WebSearch" - ], - "deny": [] - } -}