-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yml
More file actions
75 lines (63 loc) · 1.87 KB
/
Copy path.coderabbit.yml
File metadata and controls
75 lines (63 loc) · 1.87 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
# CodeRabbit configuration file for faiss-node-native
# https://coderabbit.ai
# The config is in YAML format
# Note: This config file is optional - the defaults work well and designed for open source projects
language: "en"
reviews:
# Enable high-level summary of changes
high_level_summary: true
# Enable poem generation
poem: true
# Show status messages
review_status: true
# Configuration for sequence diagrams
sequence_diagrams: true
# Auto-review settings
auto_review:
enabled: true
ignore_title_keywords:
- "[skip review]"
- "[no review]"
drafts: false
base_branches:
- "main"
- "develop"
# Path filters to exclude files from review
path_filters:
- "!**/.env*"
- "!**/node_modules/"
- "!**/build/"
- "!**/dist/"
- "!**/.git/"
- "!**/*.lock"
- "!**/package-lock.json"
# Path-specific review instructions
path_instructions:
- path: "**/*.cpp"
instructions: >
Review this C++ code with a focus on:
- Memory management and resource leaks
- Thread safety and mutex usage
- N-API best practices for Node.js addons
- Error handling and exception safety
- Proper cleanup in destructors
- FAISS API usage correctness
- path: "src/js/**/*.js"
instructions: >
Review this JavaScript code with a focus on:
- Async/await error handling
- Input validation and type checking
- Native module boundary safety
- Promise rejection handling
- API ergonomics and developer experience
- Proper resource cleanup
- path: "binding.gyp"
instructions: >
Review build configuration for:
- Cross-platform compatibility
- Correct library paths for FAISS
- Proper compiler flags
- N-API version consistency
# Chat configuration
chat:
auto_reply: true