Hi :wave: I want to use ktlint to restrict some li...
# ktlint
h
Hi 👋 I want to use ktlint to restrict some lines of Kotlin code to be unique. for instance, we have a list of DI modules in
modules
dsl of Koin, where function calls duplicated while devs resolving merge conflicts. so we got no compile time or runtime error to notice this! another example is
include
calls in settings.gradle.kt file, where there’s no error when there’s duplicated calls. any idea how to solve that?
p
Ktlint is not able to do so. I have no recommendation to alternative tools for you,
h
thank you for your support