From 57805b82a88ce147a1faf1754fb39219f5a3c33b Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Thu, 1 Oct 2020 14:37:55 -0700 Subject: [PATCH] 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. --- build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2a04c2b0b..1d4706748 100644 --- a/build.gradle +++ b/build.gradle @@ -179,7 +179,6 @@ tasks.register('ktlint', JavaExec) { tasks.withType(io.gitlab.arturbosch.detekt.Detekt.class).configureEach { exclude("**/resources/**") - exclude("**/test/**") exclude("**/tmp/**") }