-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
71 lines (68 loc) · 1.75 KB
/
.coderabbit.yaml
File metadata and controls
71 lines (68 loc) · 1.75 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
# CodeRabbit AI Code Review Configuration
# https://docs.coderabbit.ai/
language: en-US
early_access: false
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
auto_review:
enabled: true
drafts: false
base_branches:
- main
ignore_title_keywords:
- WIP
- deps
- "Do Not Merge"
path_filters:
- "!**/*.md"
- "!**/*.txt"
- "!**/go.sum"
- "!**/vendor/**"
path_instructions:
- path: "**/*.go"
instructions: |
- Focus on Go best practices and idiomatic patterns
- Check for proper error handling
- Review security implications, especially for CLI tools
- Ensure proper resource cleanup (defer statements)
- Check for goroutine leaks and race conditions
- path: "cmd/**/*.go"
instructions: |
- Review CLI interface and user experience
- Check for proper flag/argument validation
- Ensure helpful error messages for users
- path: "pkg/**/*.go"
instructions: |
- Review API design and package interfaces
- Check for proper encapsulation
- Ensure backward compatibility
- path: "**/*_test.go"
instructions: |
- Review test coverage and edge cases
- Check for table-driven test patterns
- Ensure tests are deterministic and not flaky
abort_on_close: true
auto_title_placeholder: "@coderabbitai"
tools:
golangci-lint:
enabled: true
shellcheck:
enabled: true
yamllint:
enabled: true
markdownlint:
enabled: false
chat:
auto_reply: true
knowledge_base:
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []