BraisGabin / detekt-compiler-rules

Detekt rules to wrap the Kotlin compiler messages
Apache License 2.0
13 stars 1 forks source link
detekt-plugin detekt-rules kotlin

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.