Skip to content

Commit b7ee6ea

Browse files
jaysin586claude
andauthored
chore: gate CodeRabbit reviews behind 'coderabbit' label (#15)
Label-triggered reviews only; no per-push re-reviews. On-demand via @coderabbitai review still works. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 596c2df commit b7ee6ea

1 file changed

Lines changed: 170 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
language: en-US
2+
tone_instructions: Be concise and technical. Focus on critical issues first (bugs, security, accessibility), then suggestions. Prioritize actionable feedback over observations.
3+
early_access: false
4+
enable_free_tier: true
5+
reviews:
6+
profile: assertive
7+
request_changes_workflow: false
8+
# Disable GitHub PR comments - we use Claude Code locally for reviews
9+
high_level_summary: false
10+
high_level_summary_placeholder: '@coderabbitai summary'
11+
high_level_summary_in_walkthrough: false
12+
# Disable auto-title - we craft conventional commits manually
13+
auto_title_placeholder: '@coderabbitai'
14+
auto_title_instructions: ''
15+
# Disable status checks - we use trunk locally
16+
review_status: false
17+
commit_status: false
18+
fail_commit_status: false
19+
collapse_walkthrough: true
20+
changed_files_summary: false
21+
sequence_diagrams: false
22+
assess_linked_issues: false
23+
related_issues: false
24+
related_prs: false
25+
suggested_labels: false
26+
auto_apply_labels: false
27+
suggested_reviewers: false
28+
auto_assign_reviewers: false
29+
poem: false
30+
labeling_instructions:
31+
- label: bug
32+
instructions: Apply to any code that fixes incorrect behavior or errors
33+
- label: enhancement
34+
instructions: Apply to new features or improvements to existing features
35+
- label: docs
36+
instructions: Apply to documentation updates or improvements
37+
- label: test
38+
instructions: Apply to test additions or improvements
39+
- label: refactor
40+
instructions: Apply to code restructuring without behavior changes
41+
- label: performance
42+
instructions: Apply to performance improvements or optimizations
43+
- label: security
44+
instructions: Apply to security fixes or improvements
45+
- label: animation
46+
instructions: Apply to changes to animation logic or Motion integration
47+
- label: accessibility
48+
instructions: Apply to accessibility improvements (a11y, keyboard, screen readers)
49+
- label: breaking-change
50+
instructions: Apply to changes that break backward compatibility
51+
path_filters: []
52+
path_instructions:
53+
- path: src/lib/utils/**/*.ts
54+
instructions: Ensure all exported functions use arrow function syntax (const fn = () => {}). All functions must have comprehensive JSDoc comments with @param, @returns, and @example tags. Verify type safety and check for potential ReDoS vulnerabilities in regex patterns.
55+
- path: src/lib/**/*.svelte
56+
instructions: Review Svelte 5 runes usage ($state, $derived, $effect). Ensure proper cleanup in $effect blocks. Check for memory leaks and performance issues. Verify SSR compatibility.
57+
- path: '**/*.spec.ts'
58+
instructions: Ensure tests are comprehensive with good coverage of edge cases, error paths, and accessibility. Tests should be well-named and describe the expected behavior clearly.
59+
- path: docs/**/*
60+
instructions: Verify examples are correct, runnable, and match current API. Check for broken links and ensure code examples follow project conventions.
61+
- path: tests/**/*.ts
62+
instructions: Ensure e2e tests are reliable, avoid flakiness, and test real user scenarios. Verify proper waits and assertions.
63+
- path: docs/e2e/**/*.ts
64+
instructions: Ensure e2e tests are reliable, avoid flakiness, and test real user scenarios. Verify proper waits and assertions.
65+
abort_on_close: true
66+
disable_cache: false
67+
auto_review:
68+
enabled: false
69+
auto_incremental_review: false
70+
ignore_title_keywords: []
71+
labels: ['coderabbit']
72+
drafts: false
73+
base_branches: []
74+
finishing_touches:
75+
docstrings:
76+
enabled: false
77+
unit_tests:
78+
enabled: false
79+
tools:
80+
ast-grep:
81+
rule_dirs: []
82+
util_dirs: []
83+
essential_rules: true
84+
packages: []
85+
shellcheck:
86+
enabled: false # Not needed for TS/Svelte project
87+
ruff:
88+
enabled: false # Python linter - not needed
89+
markdownlint:
90+
enabled: true
91+
github-checks:
92+
enabled: true
93+
timeout_ms: 90000
94+
languagetool:
95+
enabled: false
96+
biome:
97+
enabled: true # Good for TypeScript/JavaScript
98+
hadolint:
99+
enabled: false # Docker linter - not needed
100+
swiftlint:
101+
enabled: false # Swift linter - not needed
102+
phpstan:
103+
enabled: false # PHP linter - not needed
104+
level: default
105+
golangci-lint:
106+
enabled: false # Go linter - not needed
107+
yamllint:
108+
enabled: true
109+
gitleaks:
110+
enabled: true # Security - keep enabled
111+
checkov:
112+
enabled: false # Infrastructure security - not needed
113+
detekt:
114+
enabled: false # Kotlin linter - not needed
115+
eslint:
116+
enabled: true # Essential for TypeScript/JavaScript
117+
rubocop:
118+
enabled: false # Ruby linter - not needed
119+
buf:
120+
enabled: false # Protobuf linter - not needed
121+
regal:
122+
enabled: false # Rego linter - not needed
123+
actionlint:
124+
enabled: true # Useful for GitHub Actions
125+
pmd:
126+
enabled: false # Java linter - not needed
127+
cppcheck:
128+
enabled: false # C/C++ linter - not needed
129+
semgrep:
130+
enabled: true # Security patterns - useful
131+
circleci:
132+
enabled: false # Not using CircleCI
133+
sqlfluff:
134+
enabled: false # SQL linter - not needed
135+
prismaLint:
136+
enabled: false # Prisma ORM - not needed
137+
oxc:
138+
enabled: true # Fast JavaScript/TypeScript linter
139+
shopifyThemeCheck:
140+
enabled: false # Shopify themes - not needed
141+
chat:
142+
# Disable auto-reply - we interact via Claude Code, not GitHub comments
143+
auto_reply: false
144+
integrations:
145+
jira:
146+
usage: disabled
147+
linear:
148+
usage: disabled
149+
knowledge_base:
150+
opt_out: false
151+
web_search:
152+
enabled: false
153+
learnings:
154+
scope: local
155+
issues:
156+
scope: local
157+
jira:
158+
usage: disabled
159+
project_keys: []
160+
linear:
161+
usage: disabled
162+
team_keys: []
163+
pull_requests:
164+
scope: local
165+
# Code generation disabled - we write docs and tests via Claude Code
166+
code_generation:
167+
docstrings:
168+
enabled: false
169+
unit_tests:
170+
enabled: false

0 commit comments

Comments
 (0)