summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts12
1 files changed, 5 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 32e93f6c..8d352df8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -24,13 +24,11 @@ subprojects {
}
afterEvaluate {
- if (!project.name.startsWith("sw-ui")) {
- // The import ordering expected by ktlint is alphabetical, which doesn't match IDEA's formatter.
- // Since it is not configurable, we have to disable the rule.
- // https://github.com/pinterest/ktlint/issues/527
- extensions.configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
- disabledRules.set(setOf("import-ordering"))
- }
+ // The import ordering expected by ktlint is alphabetical, which doesn't match IDEA's formatter.
+ // Since it is not configurable, we have to disable the rule.
+ // https://github.com/pinterest/ktlint/issues/527
+ extensions.configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
+ disabledRules.set(setOf("import-ordering", "no-wildcard-imports"))
}
}
}
bgstack15