forked from haydenbleasel/next-forge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coderabbit.yaml
55 lines (49 loc) · 1.45 KB
/
.coderabbit.yaml
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
language: en-US # Default language
reviews:
# Core Review Settings
profile: "chill" # Less nitpicky feedback style
request_changes_workflow: false # Don't require resolving comments
high_level_summary: true
review_status: true
commit_status: true
# Features
poem: false # Disable poem generation to keep reviews focused
collapse_walkthrough: true # Better organization
sequence_diagrams: true # Helpful for understanding changes
changed_files_summary: true
# Filtering
path_filters:
- "!**/node_modules/**"
- "!**/*.lock"
- "!.next/**"
- "src/**"
- "apps/**"
# Path-specific instructions
path_instructions:
- path: "**/*.ts"
instructions: "Ensure strict TypeScript practices and proper type definitions. Prefer interfaces over types."
- path: "**/*.tsx"
instructions: "Follow React best practices. Ensure proper component typing and use of React.FC for functional components."
# Auto Review Settings
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: ["wip", "draft"]
drafts: false
base_branches: ["main", "develop"]
# Tools Configuration
tools:
biome:
enabled: true
eslint:
enabled: true
markdownlint:
enabled: true
gitleaks:
enabled: true
# Knowledge Base Settings
knowledge_base:
learnings:
scope: "auto" # Use local for public repo
pull_requests:
scope: "auto" # Learn from repository history