-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
42 lines (42 loc) · 1.26 KB
/
.coderabbit.yaml
File metadata and controls
42 lines (42 loc) · 1.26 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
language: 'en'
early_access: false
reviews:
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: true
path_filters:
- '!**/.xml'
- '!**/.json'
path_instructions:
- path: 'src/**/*.ts'
instructions: |
Review the TypeScript source code for:
- Logger best practices (robustness, error handling, extensibility)
- Type safety and clarity
- Proper use of chalk and color output
- Node.js compatibility (ESM/CJS)
- Maintainability and documentation
- Clean code principles, SOLID, YAGNI, DRY, KISS
- path: 'examples/**/*.ts'
instructions: 'Review example usage for clarity, correctness, and best practices.'
- path: 'docs/**/*.md'
instructions: 'Review the documentation for accuracy, completeness, and clarity.'
- path: 'src/__tests__/**/*.ts'
instructions: |
Review the Jest test code for:
- Coverage of logger features and edge cases
- Clear and descriptive test cases
- Use of Jest best practices
auto_review:
enabled: true
trigger_labels:
- 'ready for review'
ignore_title_keywords:
- 'WIP'
- 'DO NOT MERGE'
drafts: false
base_branches:
- 'main'
chat:
auto_reply: true