Skip to content

Commit e4422b8

Browse files
authored
Add initial coderabbit config file (#340)
* add initial coderabbit config file * fix yaml linter
1 parent b601e41 commit e4422b8

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# yaml-language-server: $schema=https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json
2+
3+
# CodeRabbit Configuration Template
4+
# Complete reference: https://docs.coderabbit.ai/reference/configuration
5+
# Copy this file to .coderabbit.yaml in your repository root
6+
7+
# =============================================================================
8+
# GLOBAL SETTINGS
9+
# These settings apply to your entire CodeRabbit configuration
10+
# =============================================================================
11+
12+
# Set the language for reviews by using the corresponding ISO language code.
13+
# Options: de, de-DE, de-AT, de-CH, en, en-US, en-AU, en-GB, en-CA, en-NZ, en-ZA, es, es-AR, fr, fr-CA, fr-CH, fr-BE, nl, nl-BE, pt-AO, pt, pt-BR, pt-MZ, pt-PT, ar, ast-ES, ast, be-BY, be, br-FR, br, ca-ES, ca, ca-ES-valencia, ca-ES-balear, da-DK, da, de-DE-x-simple-language, el-GR, el, eo, fa, ga-IE, ga, gl-ES, gl, it, ja-JP, ja, km-KH, km, ko-KR, ko, pl-PL, pl, ro-RO, ro, ru-RU, ru, sk-SK, sk, sl-SI, sl, sv, ta-IN, ta, tl-PH, tl, tr, uk-UA, uk, zh-CN, zh, crh-UA, crh, cs-CZ, cs, nb, no, nl-NL, de-DE-x-simple-language-DE, es-ES, it-IT, fa-IR, sv-SE, de-LU, fr-FR, bg-BG, bg, he-IL, he, hi-IN, hi, vi-VN, vi, th-TH, th, bn-BD, bn
14+
# Default: "en-US"
15+
language: "en-US"
16+
17+
# Set the tone of reviews and chat. Example: 'You must use talk like Mr. T. I pity the fool who doesn't!'
18+
# Default: ""
19+
tone_instructions: "be professional and concise, avoid humor, no familiar language"
20+
early_access: false
21+
enable_free_tier: true
22+
23+
reviews:
24+
profile: "chill"
25+
26+
# Generate walkthrough in a markdown collapsible section.
27+
# Default: false
28+
collapse_walkthrough: true
29+
30+
# Specify file patterns to include or exclude in a review using glob patterns (e.g., !dist/**, src/**). These patterns also apply to 'git sparse-checkout', including specified patterns and ignoring excluded ones (starting with '!') when cloning the repository.
31+
# Default: []
32+
path_filters: [
33+
sdk/client/**,
34+
'**/*.yaml',
35+
]
36+
37+
# Configuration for auto review
38+
# Default: {}
39+
auto_review:
40+
# List of labels to control which PRs/MRs to review. Labels starting with '!' are negative matches. Examples: ['bug', 'feature'] - reviews PRs with 'bug' OR 'feature' label. ['!wip'] - reviews all PRs except those with 'wip' label. ['bug', '!wip'] - reviews PRs with 'bug' label but not if they have 'wip' label.
41+
# Default: []
42+
labels: [
43+
"ai-code-review",
44+
]

0 commit comments

Comments
 (0)