-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
105 lines (105 loc) · 4.25 KB
/
Copy path.coderabbit.yaml
File metadata and controls
105 lines (105 loc) · 4.25 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
93
94
95
96
97
98
99
100
101
102
103
104
105
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
early_access: false
enable_free_tier: true
language: en
tone_instructions: ''
knowledge_base:
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
chat:
auto_reply: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
poem: false
review_status: true
collapse_walkthrough: true
path_filters:
- '!**/dependencies.json'
- '!**/cspell.json'
- '!**/platformio.ini'
path_instructions:
- path: '**/*.md'
instructions: >-
Review for grammar, spelling, and clarity.
Each sentence should be on a new line.
Markdown files should follow rules of markdownlint.
Check C++ and Arduino code snippets as C++ code.
- path: '**/*.dox'
instructions: >-
Review for grammar, spelling, and clarity.
Ensure that Doxygen comments are clear and follow Doxygen conventions, using java-style @commands rather than Qt-style \commands.
Check C++ and Arduino code snippets as C++ code.
- path: '**/*.ino'
instructions: >-
Treat Arduino code in ino files as C++ code.
Review the C++ code, point out issues relative to principles of clean code, expressiveness, and performance.
Since this is an Arduino project, never suggest using the standard library (std::).
For memory savings, prefer defines to const variables, and prefer using the F() macro for string literals longer than a single character.
Files should be formatted according to the .clang-format file in the repo.
Template files used as includes should have the .tpp extension, and should not be included directly by the user.
Credential information should be removed by local smudge filters in the filters folder.
- path: '**/*.h'
instructions: >-
Review the C++ code, point out issues relative to principles of clean code, expressiveness, and performance.
C++ code should be C++11 compatible, and should not use later features.
Since this is an Arduino project, never suggest using the standard library (std::).
For memory savings, prefer defines to const variables, and prefer using the F() macro for string literals longer than a single character.
Defines should be in the headers.
Unique functions, defines, and parameters must be documented with Doxygen comments in the header files.
Ensure that Doxygen comments are clear and follow Doxygen conventions, using java-style @commands rather than Qt-style \commands.
Override functions don't need Doxygen comments in the header files, unless they have unique parameters or behavior that needs to be documented.
Files should be formatted according to the .clang-format file in the repo.
Don't suggest making getter functions const.
- path: '**/*.cpp'
instructions: >-
Review the C++ code, point out issues relative to principles of clean code, expressiveness, and performance.
C++ code should be C++11 compatible, and should not use later features.
Since this is an Arduino project, never suggest using the standard library (std::).
For memory savings, prefer defines to const variables, and prefer using the F() macro for string literals longer than a single character.
Defines should be in the headers.
Doxygen documentation should be in the header files.
Files should be formatted according to the .clang-format file in the repo.
Don't suggest making getter functions const.
tools:
shellcheck:
enabled: true
ruff:
enabled: true
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
disabled_rules:
- EN_UNPAIRED_BRACKETS
disabled_categories:
- TYPOS
- TYPOGRAPHY
- CASING
enabled_only: false
level: default
biome:
enabled: true
hadolint:
enabled: true
auto_review:
enabled: true
ignore_title_keywords:
- WIP
labels: []
drafts: true
base_branches:
- main
- master
- develop