Skip to main content

Detekt

Pro Plan Feature

This feature is available exclusively as part of the Pro plan and is not included in the Lite plan. Please refer to our pricing page for more information about our plans and features.

Detekt is a static code analysis tool specifically designed for Kotlin projects

Files

Detekt will run on files with the following extensions:

  • .kt
  • .kts

Configuration

Detekt uses a YAML style configuration file.

Detekt supports the following config files:

  • User-defined config file set at reviews.tools.detekt.config_file in your project's .coderabbit.yaml file or setting the "Review → Tools → Detekt → Config File" field in CodeRabbit's settings page.