Skip to content

Commit 771dd4d

Browse files
authored
Add CodeRabbit configuration (#2949)
* Add CodeRabbit configuration to reduce review noise and auto-label PRs Made-with: Cursor * Fix field names and tool keys per CodeRabbit schema - ai_agent_prompt -> enable_prompt_for_ai_agents - posting_status_messages -> review_status - Remove ast-grep enabled (on by default, no custom rules) - Fix camelCase tool keys: fortitudeLint, prismaLint, smartyLint, emberTemplateLint, shopifyThemeCheck, osvScanner, dotenvLint - Add YAML language server schema reference Made-with: Cursor * Enable request_changes_workflow for CodeRabbit reviews Made-with: Cursor * Enable code guidelines knowledge base for reviews Made-with: Cursor * Enable prompt for AI agents in review comments Made-with: Cursor * Enable eslint and hadolint for frontend code and Dockerfiles Made-with: Cursor
1 parent 6d307d0 commit 771dd4d

1 file changed

Lines changed: 163 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: en-US
3+
tone_instructions: >-
4+
Be concise and direct. Only flag genuine bugs, security issues,
5+
and logic errors. Skip style nitpicks. If the code is correct
6+
and clear, do not leave inline comments.
7+
reviews:
8+
profile: chill
9+
request_changes_workflow: true
10+
high_level_summary: false
11+
review_details: false
12+
poem: false
13+
in_progress_fortune: false
14+
enable_prompt_for_ai_agents: true
15+
review_status: false
16+
sequence_diagrams: true
17+
estimate_code_review_effort: false
18+
collapse_walkthrough: true
19+
changed_files_summary: false
20+
suggested_labels: true
21+
auto_apply_labels: true
22+
labeling_instructions:
23+
- label: breaking
24+
instructions: "Apply when the PR introduces breaking changes to public APIs, CLI behavior, or configuration formats"
25+
- label: feature
26+
instructions: "Apply when the PR introduces entirely new functionality or capabilities"
27+
- label: enhancement
28+
instructions: "Apply when the PR improves or extends existing functionality"
29+
- label: bug
30+
instructions: "Apply when the PR fixes a bug or incorrect behavior"
31+
- label: fix
32+
instructions: "Apply when the PR fixes a bug (prefer 'bug' label when both apply)"
33+
- label: documentation
34+
instructions: "Apply when the PR primarily updates docs/ content, README, or doc comments"
35+
- label: chore
36+
instructions: "Apply for maintenance: refactoring, code cleanup, or config changes with no user-facing impact"
37+
- label: dependencies
38+
instructions: "Apply when NuGet packages or other dependency versions are added or updated"
39+
- label: automation
40+
instructions: "Apply when GitHub Actions workflows, CI/CD scripts, or build automation is modified"
41+
- label: ci
42+
instructions: "Apply when GitHub Actions workflows or CI/CD pipeline config is modified"
43+
- label: redesign
44+
instructions: "Apply when the PR contains site template, layout, or UI overhaul work"
45+
suggested_reviewers: false
46+
auto_review:
47+
enabled: true
48+
drafts: false
49+
path_filters:
50+
- "!.artifacts/**"
51+
- "!**/bin/**"
52+
- "!**/obj/**"
53+
finishing_touches:
54+
docstrings:
55+
enabled: false
56+
unit_tests:
57+
enabled: false
58+
simplify:
59+
enabled: true
60+
tools:
61+
shellcheck:
62+
enabled: true
63+
markdownlint:
64+
enabled: true
65+
github-checks:
66+
enabled: true
67+
languagetool:
68+
enabled: true
69+
yamllint:
70+
enabled: true
71+
actionlint:
72+
enabled: true
73+
gitleaks:
74+
enabled: true
75+
trufflehog:
76+
enabled: true
77+
ruff:
78+
enabled: false
79+
biome:
80+
enabled: false
81+
hadolint:
82+
enabled: true
83+
swiftlint:
84+
enabled: false
85+
phpstan:
86+
enabled: false
87+
phpmd:
88+
enabled: false
89+
phpcs:
90+
enabled: false
91+
golangci-lint:
92+
enabled: false
93+
detekt:
94+
enabled: false
95+
eslint:
96+
enabled: true
97+
flake8:
98+
enabled: false
99+
rubocop:
100+
enabled: false
101+
buf:
102+
enabled: false
103+
regal:
104+
enabled: false
105+
pmd:
106+
enabled: false
107+
clang:
108+
enabled: false
109+
cppcheck:
110+
enabled: false
111+
opengrep:
112+
enabled: false
113+
semgrep:
114+
enabled: false
115+
circleci:
116+
enabled: false
117+
clippy:
118+
enabled: false
119+
sqlfluff:
120+
enabled: false
121+
checkov:
122+
enabled: false
123+
tflint:
124+
enabled: false
125+
pylint:
126+
enabled: false
127+
oxc:
128+
enabled: false
129+
fortitudeLint:
130+
enabled: false
131+
brakeman:
132+
enabled: false
133+
prismaLint:
134+
enabled: false
135+
luacheck:
136+
enabled: false
137+
blinter:
138+
enabled: false
139+
smartyLint:
140+
enabled: false
141+
emberTemplateLint:
142+
enabled: false
143+
psscriptanalyzer:
144+
enabled: false
145+
shopifyThemeCheck:
146+
enabled: false
147+
htmlhint:
148+
enabled: false
149+
stylelint:
150+
enabled: false
151+
checkmake:
152+
enabled: false
153+
osvScanner:
154+
enabled: false
155+
dotenvLint:
156+
enabled: false
157+
trivy:
158+
enabled: false
159+
knowledge_base:
160+
code_guidelines:
161+
enabled: true
162+
chat:
163+
auto_reply: true

0 commit comments

Comments
 (0)