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.
If no user-defined config file is found, CodeRabbit will generate a detekt-config.yaml file based on the selected profile.