I’m currently working on a Kotlin project and want to setup linting. I have never setup any linting before and was wondering if there are any suggestions. Linting in Typescript is not new to me but in Kotlin it is. Currently I’m looking at ktlint and detekt to see what might be the nicest to use
s
Sam
05/01/2025, 12:31 PM
ktlint and detekt largely tackle different problems: ktlint is for formatting, while detekt analyses the code to find issues with it. If you want both, detekt can actually provide the ktlint formatting rules via a plugin 👌