This repository was archived by the owner on Aug 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ By default, users can add AST-Grep rules by following these steps:
31312 . Add individual ` .yaml ` files for each AST-Grep rule within the ` custom-name ` folder.
32323 . Ensure each ` .yaml ` file contains the necessary AST-Grep rule configurations.
33334 . 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# ...
3737reviews :
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#...
176176reviews:
177177 #...
178178 tools:
179- ast_grep :
179+ ast-grep :
180180 rules_folder: "rules"
181181 utils_folder: "utils"
182182 #...
You can’t perform that action at this time.
0 commit comments