Skip to main content
LanguageTool is a style and grammar checker.

Files

LanguageTool will run on files with the following extensions:
  • .md
  • .mdx
  • .markdown
  • .txt
The following files are excluded:
  • CMakeLists.txt
  • requirements.txt

Configuration

boolean
default:true
Enable LanguageTool: Enable LanguageTool integration.
array of string
default:[]
IDs of rules to be enabled. The rule won’t run unless ‘level’ is set to a level that activates the rule.
array of string
default:[]
IDs of rules to be disabled. Note: EN_UNPAIRED_BRACKETS, and EN_UNPAIRED_QUOTES are always disabled.
array of string
default:[]
IDs of categories to be enabled.
array of string
default:[]
IDs of categories to be disabled. Note: TYPOS, TYPOGRAPHY, and CASING are always disabled.
boolean
default:false
Run only the rules and categories listed in enabled_rules or enabled_categories, instead of the default set.With enabled_only: true, at least one rule or category is required. If both lists are empty, CodeRabbit skips LanguageTool and reports an error.
enum
default:"default"
If set to ‘picky’, additional rules will be activated, i.e. rules that you might only find useful when checking formal text.One of: default, picky
.coderabbit.yaml
LanguageTool’s style and grammar check depends on the language selected in CodeRabbit’s configuration. You can set the language by setting the language field in your project’s .coderabbit.yaml file or setting the “Review Language” field in CodeRabbit’s settings page. LanguageTool only runs when the hosted LanguageTool service credentials are available in the CodeRabbit environment.

Always-disabled categories and rules

The following categories are always disabled:
  • TYPOS - Typo detection
  • TYPOGRAPHY - Typography issues
  • CASING - Casing issues
The following rules are always disabled:
  • EN_UNPAIRED_BRACKETS - Unpaired brackets
  • EN_UNPAIRED_QUOTES - Unpaired quotes

Profile behavior

In Chill mode, LanguageTool filters out noisy rule patterns:
  • QB_NEW_EN* - Experimental “There might be a mistake here” rules that generate many false positives
In Assertive mode, CodeRabbit still filters the noisy QB_NEW_EN* rules, but reports the remaining findings.