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