I'm not sure if this is an issue on Kotlin's side ...
# detekt
e
I'm not sure if this is an issue on Kotlin's side or Detekt's, but Detekt 1.23.8 has a ton of false positives across many rules when used with Kotlin 2.3.0-RC.
a
h
Or use 2.0.0-alpha 😅
e
Basically removed this from our gradle.properties file:
detekt.use.worker.api=true
I don't have that in my project
Or use 2.0.0-alpha
Usually I would do that, but I have several other projects I depend on that would need to be built and published with Detekt 2 support, and I'm not sure I'm ready to do that.
detekt.use.worker.api=true
Just in case, I tried specifying both
true
and
false
and both cases still failed with the same false positives.