@@ -9,14 +9,16 @@ sidebar_position: 2
99---
1010
1111CodeRabbit offers various configuration options to tailor the reviews to your
12- requirements. Configuration can be made using one of the below options :
12+ requirements. Configuration can be made using one of the below options, in order
13+ of precedence:
1314
14- 1 . ** Configure using CodeRabbit YAML File** _ (Recommended)_
15- 2 . ** Configure using CodeRabbit UI**
15+ 1 . Configure using CodeRabbit YAML file
16+ 2 . Configure using CodeRabbit UI for each repository
17+ 3 . Configure using CodeRabbit UI for the organization
1618
17- Configuration defined in the YAML file overrides thesettings in the UI .
19+ In this guide, we will cover theconfiguration using a YAML file .
1820
19- ### 1. Configure CodeRabbit using a YAML File {#yaml}
21+ ##Configure CodeRabbit using a YAML File {#yaml}
2022
2123You can add a` .coderabbit.yaml ` configuration file to the root of your
2224repositories. Below is a sample YAML file that can be used as a starting point
@@ -151,6 +153,7 @@ YAML settings:
151153- **`hadolint`**: Configuration for `hadolint` integration.
152154- **`enabled`**: Enable integration, defaults to true.
153155- **`languagetool`**: Configuration for `languagetool` integration.
156+
154157- **`enabled`**: Enable integration, defaults to true.
155158- **`level`**: The level of the rule. It can be one `default` or `picky`.
156159If set to `picky`, additional rules will be activated, i.e. rules that
@@ -224,42 +227,6 @@ YAML settings:
224227Refer :
225228[CodeRabbit Configuration Schema](https://coderabbit.ai/integrations/schema.v2.json).
226229
227- # ## 2. Configure CodeRabbit through the UI
228-
229- Reviews can also be configured through the UI under repository settings :
230-
231- ---
232-
233- # ## Review Configuration
234-
235- **Path-based instructions :** Provide additional review guidelines based on the
236- file paths using glob patterns.
237-
238- For further guidance, please refer to this
239- section [Review Instructions](./review-instructions.md).
240-
241- **Language Selection:** Select the natural language in which you want the review
242- feedback. CodeRabbit supports most of the widely used languages. The default
243- language is English.
244-
245- **Disable High-Level Summary:** This allows disabling the high-level summary
246- added with the pull request description.
247-
248- ---
249-
250- # ## Review Filters
251-
252- **Disable Reviews:** Disables automatic code reviews for the repository. Reviews
253- can be initiated on-demand using CodeRabbit commands.
254-
255- **Enable draft pull request reviews:** Select whether CodeRabbit should review
256- the draft pull requests.
257-
258- **Configure reviews using pull request labels:** Select specific pull request
259- labels for which reviews should occur.
260-
261- **File Pattern:** Include or exclude specific file patterns from the review.
262-
263230Please note that code reviews commence with new pull requests or incremental
264231commits to existing pull requests once the CodeRabbit app is installed. Should
265232you have any questions or require assistance, our support team is here to help.