diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 000000000..48ec16a78 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,37 @@ +{ + "model": "haiku", + "permissions": { + "allow": [ + "Bash(npm *)", + "Bash(node *)", + "Bash(git *)", + "Bash(npx *)", + "Bash(yarn *)", + "Bash(make *)", + "Bash(pnpm *)", + "Edit", + "Read", + "Glob", + "Grep" + ] + }, + "env": { + "NODE_ENV": "development", + "DEBUG": "false" + }, + "hooks": { + "PostToolUse": [ + { + "matcher": "Write|Edit", + "hooks": [ + { + "type": "command", + "command": "jq -r '.tool_response.filePath // .tool_input.file_path' | { read -r f; if [[ $f == *.js || $f == *.ts || $f == *.jsx || $f == *.tsx || $f == *.json ]]; then npx prettier --write \"$f\" 2>/dev/null || true; fi; }", + "timeout": 15, + "statusMessage": "Formatting with prettier..." + } + ] + } + ] + } +} diff --git a/.gitignore b/.gitignore index 62c62cc8b..37f8f5a3e 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,9 @@ release/ .next/ out/ +# Claude Code local settings +.claude/settings.local.json + # Misc *.pem .env