Hello everyone, i've been working on Kotlin server application for a while now and i am thinking of adding automated linting checks on future PRs. I've searched a bit on the internet what linting plugins are available for Kotlin. I could not find anything that is official Jetbrains developed. So the question is:
1. Are there any plans of developing an official linting library for Kotlin?
2. Are there any recommendations from Kotlin team what linting library developers should use?
s
simon.vergauwen
11/12/2021, 9:38 AM
Detekt is a popular one, #detekt.
Another one is KtLint, but it doesn’t really do a lot of automated linting checks more auto-formatting.
For auto-formatting there is also KtFmt.
All 3 can work nicely together. There is also support for Detekt to automatically make comments for code smells etc on Git platforms.