forked from zeta-chain/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coderabbit.yaml
51 lines (44 loc) · 1.35 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
# https://docs.coderabbit.ai/guides/configure-coderabbit
language: "en-US"
early_access: false
chat: { auto_reply: true }
tone_instructions: >-
Maintain a formal tone, highlighting issues, and suggesting production-grade, elegant, and concise solutions.
reviews:
profile: chill
high_level_summary: true
# disables the cringe
poem: false
collapse_walkthrough: true
sequence_diagrams: true
path_filters:
- "!**/*.pb.go"
- "!**/*.pb.gw.go"
- "!**/*_pb.d.ts"
path_instructions:
- path: '**/*.go'
instructions: >-
Review the Go code, point out issues relative to principles of clean
code, expressiveness, and performance.
- path: '**/*.proto'
instructions: >-
Review the Protobuf definitions, point out issues relative to
compatibility, and expressiveness.
- path: '**/*.sh'
instructions: >-
Review the shell scripts, point out issues relative to security,
performance, and maintainability.
- path: '{*e2e*,*_test.go}'
instructions: >-
Errors in tests may be handled via require.NoError(t, err) rather
than explicitly returning error.
auto_review:
drafts: false
# disables review for new commits
auto_incremental_review: false
base_branches:
- develop
tools:
languagetool:
enabled: true
level: default