Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit02189bf

Browse files
petrisorcoderabbitharjotgill
authored andcommitted
Update coderabbit.yaml schema for ast-grep tool naming
1 parent82d7eed commit02189bf

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)

[8]ページ先頭

©2009-2025 Movatter.jp