-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
119 lines (107 loc) · 2.82 KB
/
Copy path.coderabbit.yaml
File metadata and controls
119 lines (107 loc) · 2.82 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
language: "en"
tone_instructions: "Be concise, direct, and helpful. Focus on actionable feedback."
early_access: false
reviews:
profile: "assertive"
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
auto_title_placeholder: "@coderabbitai"
review_status: true
commit_status: true
fail_commit_status: false
collapse_walkthrough: true
sequence_diagrams: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: true
auto_apply_labels: false
suggested_reviewers: true
auto_assign_reviewers: false
poem: false
tools:
ast-grep:
essential_rules: true
biome:
enabled: true
languagetool:
enabled: true
file_patterns:
- "**/*.md"
- "**/*.txt"
markdownlint:
enabled: true
semgrep:
enabled: true
config_files:
- ".semgrep.yml"
shellcheck:
enabled: true
path_filters:
- "!**/dist/**"
- "!**/.output/**"
- "!**/node_modules/**"
- "!**/convex/_generated/**"
- "!**/*.min.js"
- "!**/*.map"
path_instructions:
- path: "src/**/*.ts"
instructions: |
Focus on:
- TypeScript type safety (avoid `any`, use proper types)
- Proper error handling with try/catch
- Async/await patterns
- Import organization
- Code modularity and single responsibility
- path: "src/**/*.tsx"
instructions: |
Focus on:
- React best practices (hooks, component composition)
- Accessibility (ARIA attributes, keyboard navigation)
- Performance (useMemo, useCallback when needed)
- Proper prop typing
- Avoid inline styles when Tailwind classes exist
- path: "src/routes/**/*"
instructions: |
Focus on:
- TanStack Start conventions
- CSRF protection for mutations
- Proper error responses
- Request validation
- path: "convex/**/*"
instructions: |
Focus on:
- Convex best practices
- Proper schema definitions
- Efficient queries and indexes
- Security (authorization checks)
- path: "tests/**/*"
instructions: |
Focus on:
- Test coverage
- Clear test descriptions
- Proper assertions
- Edge case testing
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: "auto"
issues:
scope: "auto"
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: "auto"
code_generation:
docstrings:
language: "en"
path_instructions:
- path: "src/**/*.ts"
instructions: "Use JSDoc style with @param and @returns"
- path: "convex/**/*.ts"
instructions: "Include Convex-specific documentation patterns"