Skip to content

Commit

Permalink
Add configuration for languagetool integration in configure-coderab…
Browse files Browse the repository at this point in the history
…bit.md
  • Loading branch information
hasit committed Apr 17, 2024
1 parent 8aa1668 commit 56184b2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/guides/configure-coderabbit.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ YAML settings:
- **`enabled`**: Enable integration, defaults to true.
- **`shellcheck`**: Configuration for `shellcheck` integration.
- **`enabled`**: Enable integration, defaults to true.
- **`languagetool`**: Configuration for `languagetool` integration.
- **`enabled`**: Enable integration, defaults to true.
- **`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.
- **`enabled_rules`**: IDs of rules to be enabled. The rule won't run unless 'level' is set to a level that activates the rule.
- **`disabled_rules`**: IDs of rules to be disabled.
- **`enabled_categories`**: IDs of categories to be enabled.
- **`disabled_categories`**: IDs of categories to be disabled.
- **`enabled_only`**: Only the rules and categories whose IDs are specified with `enabled_rules` or `enabled_categories` are enabled.

```yaml
ast-grep:
Expand All @@ -144,6 +152,13 @@ YAML settings:
enabled: true
shellcheck:
enabled: true
languagetool:
enabled: true
enabled_only: false
level: default
enabled_categories:
- "TON_ACADEMIC"
- "CASING"
```

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

0 comments on commit 56184b2

Please sign in to comment.