Meet new cutting-edge Kotlin linter. Enjoy! <https...
# feed
i
s
Very nice addition to the ecosystem. I once had such a thing as a Gradle plugin for Java and it was always useful.
❤️ 1
i
Thx, I am curious to see this this project evolves. BTW here is a sample test
The Medium link may show a paywall, so I have reposted the article to dev.to: https://dev.to/igorwojda/introducing-konsist-a-cutting-edge-kotlin-linter-1b5f
❤️ 2
t
Very nice! This reminds me a lot of ArchUnit.
1
i
This was the inspiration, however ArchUnit does not play well with Kotlin (I will drop a separate article on this soon). The best way to stay up to date is to follow me on twitter ;-)
t
Yeah, I use ArchUnit a lot and have been tinkering with Kotlin bindings for it in my spare time, but admittedly haven’t put a lot of effort into this. I’ll start following this effort, nice work.
❤️ 1
s
There is definitely a use for tools like this in big projects. 😄
👌 3
🙂 1
i
Yes @Stefan Oltmann Kinsist will be of higher value for larger codebases
c
OH HECK YEAH
❤️ 1
K 1
e
my team already uses Android Lint to do these types of checks in our codebase, but if it's significantly faster or easier to use (which looks likely), it could be worthwhile to investigate migrating
we do have some checks that rely on type resolution and Android resources though, I'm expecting those aren't covered?
i
Please mention a concrete example
FYI a dedicated #konsist channel was created