|
| 1 | +# .coderabbit.yaml |
| 2 | + |
| 3 | +language: 'en-US' |
| 4 | + |
| 5 | +early_access: false |
| 6 | + |
| 7 | +chat: |
| 8 | + auto_reply: true |
| 9 | + |
| 10 | +reviews: |
| 11 | + # tone: collaborative, not too strict |
| 12 | + profile: 'chill' |
| 13 | + high_level_summary: true |
| 14 | + review_status: true |
| 15 | + commit_status: true |
| 16 | + collapse_walkthrough: false |
| 17 | + |
| 18 | + path_filters: |
| 19 | + - '**/*' |
| 20 | + - '!README.md' |
| 21 | + - '!readme.md' |
| 22 | + - '!**/*.md' |
| 23 | + - '!**/*.yml' |
| 24 | + - '!**/*.yaml' |
| 25 | + - '!**/*.json' |
| 26 | + - '!**/*.html' |
| 27 | + - '!**/*.svg' |
| 28 | + - '!.github/**' |
| 29 | + - '!docs/**' |
| 30 | + |
| 31 | + instructions: | |
| 32 | + Focus on correctness, readability, and maintainability over cosmetic nitpicks. |
| 33 | + - Avoid reviewing README, config, or asset files. |
| 34 | + - Prioritize identifying bugs, performance issues, and architectural concerns. |
| 35 | + - For Angular, check for OnPush strategy, unsubscribe patterns, proper RxJS usage, |
| 36 | + and template accessibility (labels, roles, tab order). |
| 37 | + - For TypeScript, enforce strong typing and minimal use of `any`. |
| 38 | + - Point out missing tests only when changes are medium/high risk. |
| 39 | +
|
| 40 | + path_instructions: |
| 41 | + - pattern: 'src/app/**' |
| 42 | + instruction: | |
| 43 | + For Angular code: verify component separation, trackBy on *ngFor, |
| 44 | + strict type safety, and clean observable patterns. |
| 45 | + - pattern: '**/*.spec.ts' |
| 46 | + instruction: | |
| 47 | + For tests: encourage clear Arrange-Act-Assert structure, |
| 48 | + stable selectors, and minimal brittle timing dependencies. |
| 49 | +
|
| 50 | + auto_review: |
| 51 | + enabled: true |
| 52 | + auto_incremental_review: true |
| 53 | + drafts: false |
| 54 | + base_branches: ['dev'] |
| 55 | + ignore_title_keywords: ['WIP', 'Draft'] |
| 56 | + labels: ['!skip-ai-review'] |
| 57 | + ignore_usernames: ['dependabot', 'renovate[bot]'] |
| 58 | + |
| 59 | + finishing_touches: |
| 60 | + docstrings: |
| 61 | + enabled: true |
| 62 | + unit_tests: |
| 63 | + enabled: true |
| 64 | + |
| 65 | +pre_merge_checks: |
| 66 | + docstrings: |
| 67 | + enabled: false |
| 68 | + unit_tests: |
| 69 | + enabled: false |
0 commit comments