-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
92 lines (73 loc) · 1.94 KB
/
.coderabbit.yaml
File metadata and controls
92 lines (73 loc) · 1.94 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# CodeRabbit AI Review Instructions
# Based on project-specific rules from CLAUDE.md
# Language for reviews
language: en-US
# Review tone and communication style (max 250 chars)
tone_instructions: "Be direct and specific. Explain WHY rules exist. Provide code examples. Distinguish critical violations from suggestions. Use severity levels: CRITICAL (blocking/security), HIGH (types/defensive), MEDIUM (style), LOW (suggestions)."
# Enable early access features
early_access: true
reviews:
# Review profile: assertive for strict enforcement
profile: assertive
# Request changes for critical violations
request_changes_workflow: true
# Review display settings
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
# Auto-review configuration
auto_review:
enabled: true
drafts: false
base_branches:
- main
path_filters:
- "!docs/**"
# Enable relevant tools for Python/JavaScript project
tools:
# Python linting
ruff:
enabled: true
pylint:
enabled: true
# JavaScript linting
eslint:
enabled: true
# Shell script checking
shellcheck:
enabled: true
# YAML validation
yamllint:
enabled: true
# Security scanning
gitleaks:
enabled: true
semgrep:
enabled: true
# GitHub Actions workflow validation
actionlint:
enabled: true
# Dockerfile linting
hadolint:
enabled: true
# Knowledge base configuration
knowledge_base:
# Enable code guidelines enforcement from CLAUDE.md
code_guidelines:
enabled: true
filePatterns:
- "CLAUDE.md"
# Enable learning from repository patterns
learnings:
scope: auto
# Enable learning from issues
issues:
scope: auto
# Enable learning from pull requests
pull_requests:
scope: auto
# Chat settings
chat:
auto_reply: true