https://kotlinlang.org logo
#random
Title
t

tmg

07/02/2019, 4:49 PM
What linters do you guys use for kotlin?
m

Matej Drobnič

07/02/2019, 7:49 PM
ktlint is great, but it only lints for code style. It's pretty controversial because it has no configuration by design, but I dig it (no arguing over code style in team, just throw in ktlint and you are done) I've also heard good things about Detekt, but I've yet to use it properly.
Detekt does have some arbitrary rules that would probably be useful to be disabled though. Like "warn for every method that is over X lines of code long"
g

gildor

07/03/2019, 5:52 AM
IDEA
👍🏼 1