Skip to content

Commit 02189bf

Browse files
petrisorcoderabbitharjotgill
authored andcommitted
Update coderabbit.yaml schema for ast-grep tool naming
1 parent 82d7eed commit 02189bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/integrations/ast-grep.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ By default, users can add AST-Grep rules by following these steps:
3131
2. Add individual `.yaml` files for each AST-Grep rule within the `custom-name` folder.
3232
3. Ensure each `.yaml` file contains the necessary AST-Grep rule configurations.
3333
4. Ensure that all rules contains a `message` property, that will be used in the review process.
34-
5. Add the `custom-name` folder to the `.code-rabbit.yml` file under `tools.ast_grep` configuration.
34+
5. Add the `custom-name` folder to the `.code-rabbit.yml` file under `tools.ast-grep` configuration.
3535
```yaml
3636
#...
3737
reviews:
3838
#...
3939
tools:
40-
ast_grep:
40+
ast-grep:
4141
rules_folder: "custom-name"
4242
#...
4343
```
@@ -169,14 +169,14 @@ my-awesome-project # project root
169169
| |- is-literal.yml
170170
```
171171

172-
>Also, you need to add the `rules` and `utils` folders to the `.code-rabbit.yml` file under `tools.ast_grep` configuration.
172+
>Also, you need to add the `rules` and `utils` folders to the `.code-rabbit.yml` file under `tools.ast-grep` configuration.
173173

174174
```yaml
175175
#...
176176
reviews:
177177
#...
178178
tools:
179-
ast_grep:
179+
ast-grep:
180180
rules_folder: "rules"
181181
utils_folder: "utils"
182182
#...

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