Skip to content

Commit 56184b2

Browse files
committed
Add configuration for languagetool integration in configure-coderabbit.md
1 parent 8aa1668 commit 56184b2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/guides/configure-coderabbit.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ YAML settings:
125125
- **`enabled`**: Enable integration, defaults to true.
126126
- **`shellcheck`**: Configuration for `shellcheck` integration.
127127
- **`enabled`**: Enable integration, defaults to true.
128+
- **`languagetool`**: Configuration for `languagetool` integration.
129+
- **`enabled`**: Enable integration, defaults to true.
130+
- **`level`**: The level of the rule. Can be one `default` or `picky`. If set to `picky`, additional rules will be activated, i.e. rules that you might only find useful when checking formal text.
131+
- **`enabled_rules`**: IDs of rules to be enabled. The rule won't run unless 'level' is set to a level that activates the rule.
132+
- **`disabled_rules`**: IDs of rules to be disabled.
133+
- **`enabled_categories`**: IDs of categories to be enabled.
134+
- **`disabled_categories`**: IDs of categories to be disabled.
135+
- **`enabled_only`**: Only the rules and categories whose IDs are specified with `enabled_rules` or `enabled_categories` are enabled.
128136

129137
```yaml
130138
ast-grep:
@@ -144,6 +152,13 @@ YAML settings:
144152
enabled: true
145153
shellcheck:
146154
enabled: true
155+
languagetool:
156+
enabled: true
157+
enabled_only: false
158+
level: default
159+
enabled_categories:
160+
- "TON_ACADEMIC"
161+
- "CASING"
147162
```
148163

149164
5. **`chat`**: Defines the behavior of CodeRabbit's bot in conversations.

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