It seems that android lint does not cover this and...
# android
p
It seems that android lint does not cover this and I want to make it part of my ci pipeline
d
Is this for a kotlin project? Have you tried ktlint?
p
Ktlint is too dumb for that
It does not understand the larger picture but operates on a per-file level afaik
s
android studio has inspections you can run, but they take a really long time to search large code bases, and i find they have a lot of false positives
p
Try all warnings as errors from https://kotlinlang.org/docs/reference/using-gradle.html#compiler-options it reports at least unused properties
p
That's not usable because it reports on generated classes too.
There is "unused symbol" under kotlin inspections. When I run it, android studio shows "Running Android Lint". I ask myself how I can run this from command line
k