-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
63 lines (58 loc) · 1.77 KB
/
Copy path.coderabbit.yaml
File metadata and controls
63 lines (58 loc) · 1.77 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
early_access: false
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: true
auto_review:
enabled: true
drafts: false
base_branches:
- main
ignore_title_keywords:
- WIP
- DRAFT
path_filters:
- "!**/dist/**"
- "!**/build/**"
- "!**/out/**"
- "!**/*.min.js"
- "!**/package-lock.json"
- "!**/bun.lock"
- "!**/bun.lockb"
- "!**/yarn.lock"
- "!**/Cargo.lock"
- "!**/*.snap"
path_instructions:
- path: "**/*.cs"
instructions: |
Follow .NET coding conventions. Flag missing async/await,
ConfigureAwait(false) in library code, IDisposable patterns,
and any nullable reference annotation gaps.
- path: "**/*.tsx"
instructions: |
Flag missing key props in lists, useEffect dependency issues,
accessibility gaps (alt, aria-*), and any prop drilling that
could be replaced with context.
- path: "**/*.go"
instructions: |
Flag missing error checks, channel leaks, goroutine leaks,
and any context cancellation issues.
- path: "**/*.rs"
instructions: |
Flag unwrap()/expect() in non-test code, missing Drop impls,
and any unnecessary allocations.
- path: "**/*.py"
instructions: |
Flag bare except clauses, mutable default arguments, and
any synchronous I/O in async functions.
- path: ".github/workflows/**/*.yml"
instructions: |
Flag any user-controlled input interpolated directly in
run: blocks (workflow injection risk). Recommend env: + quoting.
chat:
auto_reply: true