-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
153 lines (142 loc) · 3.79 KB
/
Copy path.coderabbit.yaml
File metadata and controls
153 lines (142 loc) · 3.79 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
tone_instructions: "Be concise and direct. No fluff."
early_access: false
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
poem: false
sequence_diagrams: false
review_status: true
collapse_walkthrough: true
changed_files_summary: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: false
auto_apply_labels: false
suggested_reviewers: false
auto_assign_reviewers: false
auto_review:
enabled: true
drafts: false
ignore_title_keywords:
- WIP
path_filters:
# Go generated files
- "!**/zz_generated.deepcopy.go"
- "!vendor/"
# Generated/transpiled files
- "!**/*.js.map"
- "!**/*.d.ts"
# Test snapshots (review manually when needed)
- "!**/__snapshots__/**"
# Package lock files
- "!web/package-lock.json"
- "!web/yarn.lock"
path_instructions:
- path: "web/src/**/*.{ts,tsx}"
instructions: |
Check React hooks dependencies, component re-render optimization, and TypeScript type safety.
Verify PatternFly component usage follows best practices.
Ensure clickable elements (buttons, links, inputs) have data-test attributes for E2E testing.
- path: "web/src/**/*.test.{ts,tsx}"
instructions: "Ensure proper test isolation, mock cleanup, and coverage of edge cases"
- path: "pkg/**/*.go"
instructions: "Review error handling, context cancellation, and API backward compatibility"
- path: "web/cypress/**/*.ts"
instructions: "Verify E2E test stability, proper waits, and selector resilience"
- path: "**/Dockerfile*"
instructions: "Check for security best practices, multi-stage builds, and minimal image size"
tools:
# Backend (Go)
golangci-lint:
enabled: false # run in CI
# Frontend (JavaScript/TypeScript)
eslint:
enabled: true
biome:
enabled: true
# Infrastructure & Config
shellcheck:
enabled: true
yamllint:
enabled: true
hadolint:
enabled: true
actionlint:
enabled: true
checkov:
enabled: true
markdownlint:
enabled: true
# Not relevant to this project
ruff:
enabled: false
swiftlint:
enabled: false
phpstan:
enabled: false
phpmd:
enabled: false
phpcs:
enabled: false
flake8:
enabled: false
rubocop:
enabled: false
detekt:
enabled: false
pmd:
enabled: false
clippy:
enabled: false
pylint:
enabled: false
oxc:
enabled: false
stylelint:
enabled: false
htmlhint:
enabled: false
prismaLint:
enabled: false
shopifyThemeCheck:
enabled: false
luacheck:
enabled: false
brakeman:
enabled: false
dotenvLint:
enabled: false
emberTemplateLint:
enabled: false
psscriptanalyzer:
enabled: false
cppcheck:
enabled: false
clang:
enabled: false
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
chat:
auto_reply: true
knowledge_base:
web_search:
enabled: true
learnings:
scope: auto
issues:
scope: auto
pull_requests:
scope: auto
linked_repositories:
- repository: "netobserv/netobserv-operator"
instructions: "Manages deployment and configuration of the console plugin. Consider operator CRD changes when reviewing plugin configuration or backend API."
- repository: "netobserv/flowlogs-pipeline"
instructions: "Backend service providing flow data to the console plugin. Review API compatibility when modifying data queries, aggregation logic, or frontend data models."