No issue: run detekt on unit test files.

detekt still passes after I make this change.

afaik, there isn't a good reason not to run it on unit tests and it can
be valuable to add custom rules for them. Also, detekt is already
running on our androidTest directory.
This commit is contained in:
Michael Comella 2020-10-01 14:37:55 -07:00 committed by Michael Comella
parent 41a92a8d8b
commit 57805b82a8

View File

@ -179,7 +179,6 @@ tasks.register('ktlint', JavaExec) {
tasks.withType(io.gitlab.arturbosch.detekt.Detekt.class).configureEach {
exclude("**/resources/**")
exclude("**/test/**")
exclude("**/tmp/**")
}