Detekt only analyzes a file, and not the project as a whole. You need something with project knowledge like IntelliJ or Sonarqube (although I'm not sure if either of those does that level of detection yet). IntelliJ is the most likely to have something like that implemented in its analysis.
x
xenomachina
09/12/2019, 5:03 PM
@Mike Ah, good to know about detekt's file at a time limitation. Thanks!
I was hoping to set up this sort of detection in my gradle builds (ideally), or at least something that could be run in continuous integration.