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

Sheheryar Umair

12/01/2023, 4:23 AM
Hello! I came across two tools for linting and code smells, Ktlint and Detekt. Which one is widely used? I skim-read both documentation and both seem fine. So does anyone comment on which one is better or can both be used together. And if there are any other tools, do suggest them also
e

eygraber

12/01/2023, 6:26 AM
Ktlint is more focused on formatting. Detekt supports formatting as well (through ktlint) as well as many other checks. I use both; see #detekt and #ktlint
1