File tree 1 file changed +3
-17
lines changed
1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ This section explains how to add custom code review instructions for the entire
17
17
project or specific file paths in your project using glob patterns. Developers
18
18
can provide tailored review guidelines based on the file paths. These
19
19
instructions are needed only if you want CodeRabbit to follow specific
20
- instructions besides the standard review. For example, you may want to enforce a
21
- style guide by file types or directories.
20
+ instructions besides the standard review.
21
+
22
+ > For example, you may want to enforce a style guide by file types or directories.
22
23
23
24
### Sample Usage
24
25
@@ -72,21 +73,6 @@ learning curve involved.
72
73
73
74
:: :
74
75
75
- CodeRabbit offers review instructions based on Abstract Syntax Tree (AST)
76
- patterns. Under the hood, CodeRabbit uses
77
- [`ast-grep`](https://ast-grep.github.io) to power this feature. `ast-grep` is
78
- written in Rust and uses the tree-sitter parser to generate the AST for popular
79
- languages. `ast-grep` is written and maintained by
80
- [Herrington Darkholme](https://twitter.com/hd_nvim).
81
-
82
- :::tip
83
-
84
- ` ast-grep` Playground is quite effective in designing and testing AST rules on
85
- source code snippets. You can access the playground
86
- [here](https://ast-grep.github.io/playground.html).
87
-
88
- :: :
89
-
90
76
:::note
91
77
92
78
**Deep dive into AST patterns and `ast-grep` rules**
You can’t perform that action at this time.
0 commit comments