Skip to content

BraisGabin/detekt-compiler-rules

Repository files navigation

Detekt compiler rules

This rule set wraps the warnings and info messages of the Kotlin compiler as detekt findings.

How to use it

Add this to your module gradle configuration:

dependencies {
  detektPlugins("com.braisgabin.detekt:kotlin-compiler-wrapper:0.0.4")
}

Configuration

If you use detekt 1.21.0 or later all works out of the box. If you don't you should copy the content of this file inside your detekt configuration to make able to run the rules.