From 5288f34ccdb5d5947f97829e89e98e6cb609772e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwieci=C5=84ski?= <36954793+mateuszkwiecinski@users.noreply.github.com> Date: Fri, 5 Aug 2022 12:04:35 +0200 Subject: [PATCH] Toggle ktlint rules (#401) --- .../main/kotlin/com/project/starter/quality/internal/Ktlint.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quality/src/main/kotlin/com/project/starter/quality/internal/Ktlint.kt b/quality/src/main/kotlin/com/project/starter/quality/internal/Ktlint.kt index 0b1e717b..d2b14be9 100644 --- a/quality/src/main/kotlin/com/project/starter/quality/internal/Ktlint.kt +++ b/quality/src/main/kotlin/com/project/starter/quality/internal/Ktlint.kt @@ -11,7 +11,7 @@ internal fun Project.configureKtlint() { extensions.configure(KotlinterExtension::class.java) { it.experimentalRules = true it.reporters = emptyArray() - it.disabledRules = arrayOf("import-ordering", "experimental:argument-list-wrapping", "experimental:trailing-comma") + it.disabledRules += arrayOf("import-ordering", "filename", "experimental:function-signature") } tasks.named(ProjectCodeStyleTask.TASK_NAME) {