Does the new 2.0 mean that type resolution is alwa...
# detekt
u
Does the new 2.0 mean that type resolution is always on, i.e. there is distinction between the rules anymore?
b
No, type resolution isn't always on. The rules that need to use the Analysis API need to implement an interface. Which is your concern/use case?
u
I wonder why make the disctinction? Why would i not want the rules?
n
I haven’t tested Detekt 2 much at this point but presumably speed?
./gradlew detekt
is like 5x faster than
./gradlew detektMain
in our project
u
well :detekt has no type resolution while detektMain has, 2 different modes
b
That's completely expected. The first executes way less rules and those rules are easier and doesn't need to know about the types.
nod 1