Why is this an Android linter?
Thanks for this awesome library! Without trying it yet I think this will become a no-brainer dependency of you build heavy DSLs...
Anyways. May I ask why this is an Android linter? Kotlin DSLs are not android specific. Can't this library move to an JVM implementation only? 🤔
Hey, glad to hear you like it!
DSLint was born out of my own personal need inside an Android library I'm working on. I wanted something that could both be run as a gradle task and also as an inspection inside the IDE.
I guess you could also write it to work on any Kotlin project as a gradle task, similar to how KTlint works, but I haven't gotten around to it yet. If I see a rising demand I'll start working on it.
Meanwhile, I would really appreciate if you can spread the word on the library so other devs don't have to deal with this problem in DSL.
Thanks for the answer. This makes sense :+1: .
But is a Gradle task really enough? 🤔 A Kotlin project would likely to use the full IntelliJ power and wants to see the checks inside the IDE. Like in your screenshots in Android Studio (with this dependency). Do you know how to do this?
Yes, it can be done using a custom Intelij plugin.