Files
LanguageTool will run on files with the following extensions:.md.mdx.markdown.txt
CMakeLists.txtrequirements.txt
Configuration
LanguageToolâs style and grammar check depends on the language selected in CodeRabbitâs configuration. You can set the language by setting thelanguage field in your projectâs .coderabbit.yaml file or setting the âReview Languageâ field in CodeRabbitâs settings page.
CodeRabbit allows further configuring LanguageTool by setting specific rules and categories to be enabled/disabled. This can be done under the reviews.tools.languagetool field in your projectâs .coderabbit.yaml file or setting the various options under âReview â Tools â LanguageToolâ in CodeRabbitâs settings page. The following options are available:
enabled- Enable or disable LanguageTool.enabled_rules- Enable specific rules.disabled_rules- Disable specific rules.enabled_categories- Enable specific categories.disabled_categories- Disable specific categories.enabled_only- Enable only the rules and categories of IDs are specified with âenabledRulesâ or âenabledCategoriesâ.level- Set the level of feedback to be provided by LanguageTool. The following levels are available:default- Provides feedback on common issues.picky- Provides feedback on more issues, rules that you might only find useful when checking formal text.
Default disabled categories and rules
The following categories are disabled by default:TYPOS- Typo detectionTYPOGRAPHY- Typography issuesCASING- Casing issues
EN_UNPAIRED_BRACKETS- Unpaired bracketsEN_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