settings.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "permissions": {
  3. "allow": [
  4. "Bash(node --version)",
  5. "Bash(npm --version)",
  6. "Bash(npm view *)",
  7. "Bash(pnpm --version)",
  8. "Bash(turbo --version)",
  9. "Bash(turbo run build)",
  10. "Bash(turbo run lint)",
  11. "Bash(pnpm run lint:*)",
  12. "Bash(pnpm vitest run *)",
  13. "Bash(pnpm biome check *)",
  14. "Bash(pnpm ls *)",
  15. "Bash(pnpm why *)",
  16. "Bash(cat *)",
  17. "Bash(echo *)",
  18. "Bash(find *)",
  19. "Bash(grep *)",
  20. "Bash(git diff *)",
  21. "Bash(gh issue view *)",
  22. "Bash(gh pr view *)",
  23. "Bash(gh pr diff *)",
  24. "Bash(ls *)",
  25. "WebFetch(domain:github.com)",
  26. "mcp__context7__*",
  27. "mcp__plugin_context7_*",
  28. "mcp__github__*",
  29. "WebSearch",
  30. "WebFetch"
  31. ]
  32. },
  33. "enableAllProjectMcpServers": true,
  34. "hooks": {
  35. "SessionStart": [
  36. {
  37. "hooks": [
  38. {
  39. "type": "command",
  40. "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"
  41. }
  42. ]
  43. }
  44. ],
  45. "PostToolUse": [
  46. {
  47. "matcher": "Write|Edit",
  48. "hooks": [
  49. {
  50. "type": "command",
  51. "command": "if [[ \"$FILE\" == */apps/* ]] || [[ \"$FILE\" == */packages/* ]]; then REPO_ROOT=$(echo \"$FILE\" | sed 's|/\\(apps\\|packages\\)/.*|/|'); cd \"$REPO_ROOT\" && pnpm biome check --write \"$FILE\" 2>/dev/null || true; fi",
  52. "timeout": 30
  53. }
  54. ]
  55. }
  56. ]
  57. },
  58. "enabledPlugins": {
  59. "context7@claude-plugins-official": true,
  60. "github@claude-plugins-official": true,
  61. "typescript-lsp@claude-plugins-official": true,
  62. "playwright@claude-plugins-official": true
  63. }
  64. }