best linter available for kotlin with gradle / in...
# announcements
b
best linter available for kotlin with gradle / intellij support?
r
https://github.com/pinterest/ktlint is the only one I've used. Intellij has pretty good built in capabilities, too.
b
thanks, tried that out and it seems ok. is making linting part of a build just not a normal thing with kotlin?
IDE: Detekt uses ktlint for formatting rules, and has an IntelliJ plugin https://plugins.jetbrains.com/plugin/10761-detekt
☝️ 1
in fact, might as well use the Detekt Gradle plugin too - my team uses both kotlinter-gradle and detekt-gradle for different things
2