Skip to content

Commit 98f0ef6

Browse files
petrisorcoderabbitharjotgill
authored andcommitted
Update coderabbig guide page with new coderabbit.yaml changes
1 parent 02189bf commit 98f0ef6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/guides/customize-coderabbit.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ reviews:
6969
base_branches:
7070
- "develop"
7171
- "feat/.*"
72+
tools:
73+
ast-grep:
74+
rules_folder: "custom-rules-folder-name"
75+
utils_folder: "custom-utils-folder-name"
7276
chat:
7377
auto_reply: true
7478
```
@@ -112,6 +116,12 @@ YAML settings:
112116
`true`).
113117
- **base_branches**: A list of base branches where the reviews will occur
114118
apart from the default branch. Accepts regex pattern.
119+
- **tools**: Configurations for the tools used in the review.
120+
- **ast-grep**: Configurations for the ast-grep tool.
121+
- **rules_folder**: The folder name where the custom ast-grep rules are
122+
stored.
123+
- **utils_folder**: The folder name where the custom ast-grep utils are
124+
stored.
115125
4. **chat**: Defines the behavior of CodeRabbit's bot in conversations.
116126
- **auto_reply**: The bot automatically replies without the need of the user
117127
tagging it ( default: `true` ).
@@ -156,6 +166,12 @@ settings:
156166
collapse_walkthrough_comment: true
157167
# Disable automatic code reviews for this repository.
158168
disable_review: false
169+
# External tools configurations
170+
tools:
171+
# tools configuration for ast-grep
172+
ast-grep:
173+
rules_folder: "custom-rules-folder-name"
174+
utils_folder: "custom-utils-folder-name"
159175
```
160176

161177
<!-- ![code](./images/ymlrabbit.png) -->
@@ -189,6 +205,12 @@ This configuration file consists of the following settings:
189205
be posted.
190206
13. **collapse_walkthrough_comment**: Specifies whether to collapse walkthrough
191207
comments on the review.
208+
14. **tools**: Configurations for the tools used in the review.
209+
- **ast-grep**: Configurations for the ast-grep tool.
210+
- **rules_folder**: The folder name where the custom ast-grep rules are
211+
stored.
212+
- **utils_folder**: The folder name where the custom ast-grep utils are
213+
stored.
192214

193215
Refer:
194216
[CodeRabbit configuration schema](https://coderabbit.ai/integrations/coderabbit-overrides.json).

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy