-
Notifications
You must be signed in to change notification settings - Fork 875
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
60 lines (52 loc) · 1.69 KB
/
.coderabbit.yaml
File metadata and controls
60 lines (52 loc) · 1.69 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
# .coderabbit.yaml
language: 'en-US'
early_access: false
chat:
auto_reply: true
reviews:
poem: false
profile: 'chill' # not too strict
high_level_summary: true
review_status: true
commit_status: true
collapse_walkthrough: false
# Scope: review code, skip docs/config/assets
path_filters:
- '**/*'
- '!.github/**'
- '!**/*.svg'
# Repo-specific guidance
instructions: |
Focus on correctness, readability, and maintainability over cosmetic nitpicks.
- Avoid reviewing README, config, or asset files.
- Prioritize identifying bugs, performance issues, and architectural concerns.
- For Angular, check for OnPush strategy, unsubscribe patterns, proper RxJS usage,
and template accessibility (labels, roles, tab order).
- For TypeScript, enforce strong typing and minimal use of `any`.
- Point out missing tests only when changes are medium/high risk.
# Use path + instructions
path_instructions:
- path: 'src/app/**'
instructions: |
For Angular code: verify component separation, trackBy on *ngFor,
strict type safety, and clean observable patterns.
- path: '**/*.spec.ts'
instructions: |
For tests: encourage clear Arrange-Act-Assert structure,
stable selectors, and minimal brittle timing dependencies.
auto_review:
enabled: true
auto_incremental_review: true
drafts: false
base_branches: ['dev']
ignore_title_keywords: ['WIP', 'Draft']
labels: ['!skip-ai-review']
ignore_usernames: ['dependabot', 'renovate[bot]']
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
# Valid schema: turn off gates entirely
pre_merge_checks:
mode: 'off'