https://github.com/braisgabin/detekt-compiler-rules
Detekt rules to wrap the Kotlin compiler messages
https://github.com/braisgabin/detekt-compiler-rules
detekt-plugin detekt-rules kotlin
Last synced: 14 days ago
JSON representation
Detekt rules to wrap the Kotlin compiler messages
- Host: GitHub
- URL: https://github.com/braisgabin/detekt-compiler-rules
- Owner: BraisGabin
- License: apache-2.0
- Created: 2022-06-23T08:41:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T22:09:26.000Z (16 days ago)
- Last Synced: 2025-04-13T02:45:31.440Z (15 days ago)
- Topics: detekt-plugin, detekt-rules, kotlin
- Language: Kotlin
- Homepage:
- Size: 223 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Detekt compiler rules
This rule set wraps the warnings and info messages of the [Kotlin][kotlin] compiler as [detekt][detekt] findings.
## How to use it
Add this to your module gradle configuration:
```kotlin
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][config.yml]
inside your detekt configuration to make able to run the rules.[config.yml]: https://github.com/BraisGabin/detekt-compiler-rules/blob/main/src/main/resources/config/config.yml
[detekt]: https://detekt.github.io/
[kotlin]: https://kotlinlang.org/