@@ -69,6 +69,10 @@ reviews:
69
69
base_branches :
70
70
- " develop"
71
71
- " feat/.*"
72
+ tools :
73
+ ast-grep :
74
+ rules_folder : " custom-rules-folder-name"
75
+ utils_folder : " custom-utils-folder-name"
72
76
chat :
73
77
auto_reply : true
74
78
` ` `
@@ -110,6 +114,12 @@ Yaml settings:
110
114
` true` ).
111
115
- **base_branches**: A list of base branches where the reviews will occur
112
116
apart from the default branch. Accepts regex pattern.
117
+ - **tools**: Configurations for the tools used in the review.
118
+ - **ast-grep**: Configurations for the ast-grep tool.
119
+ - **rules_folder**: The folder name where the custom ast-grep rules are
120
+ stored.
121
+ - **utils_folder**: The folder name where the custom ast-grep utils are
122
+ stored.
113
123
4. **chat** : Defines the behavior of CodeRabbit's bot in conversations.
114
124
- **auto_reply**: The bot automatically replies without the need of the user
115
125
tagging it ( default : ` true` ).
@@ -154,6 +164,12 @@ settings:
154
164
collapse_walkthrough_comment: true
155
165
# Disable automatic code reviews for this repository.
156
166
disable_review: false
167
+ # External tools configurations
168
+ tools:
169
+ # tools configuration for ast-grep
170
+ ast-grep:
171
+ rules_folder: "custom-rules-folder-name"
172
+ utils_folder: "custom-utils-folder-name"
157
173
` ` `
158
174
159
175
<!--  -->
@@ -187,6 +203,12 @@ This configuration file consists of the following settings:
187
203
be posted.
188
204
13. **collapse_walkthrough_comment** : Specifies whether to collapse walkthrough
189
205
comments on the review.
206
+ 14. **tools** : Configurations for the tools used in the review.
207
+ - **ast-grep**: Configurations for the ast-grep tool.
208
+ - **rules_folder**: The folder name where the custom ast-grep rules are
209
+ stored.
210
+ - **utils_folder**: The folder name where the custom ast-grep utils are
211
+ stored.
190
212
191
213
Refer :
192
214
[CodeRabbit configuration schema](https://coderabbit.ai/integrations/coderabbit-overrides.json).
0 commit comments