From c53d072f7ab0cb4a5e678601311858b9cc40c747 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 29 Aug 2023 12:23:23 +0100 Subject: [PATCH] Update Kotlinter Ignores failures for now as some work is required to get it linting correctly again. Signed-off-by: Graham --- .editorconfig | 3 --- build.gradle.kts | 3 +-- gradle/libs.versions.toml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index b54555cbbe..4c28e37c12 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,9 +13,6 @@ indent_style = tab # @formatter:on indent_style = space indent_size = 4 -# see https://github.com/pinterest/ktlint/issues/764 -# noinspection EditorConfigKeyCorrectness -disabled_rules = argument-list-wrapping, parameter-list-wrapping, wrapping [*.md] max_line_length = 80 diff --git a/build.gradle.kts b/build.gradle.kts index 94791a3b01..581f3d86ef 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -51,8 +51,7 @@ allprojects { plugins.withType { configure { - // see https://github.com/pinterest/ktlint/issues/764 - disabledRules = arrayOf("argument-list-wrapping", "parameter-list-wrapping", "wrapping") + ignoreFailures = true } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d6c39c50a6..3392504380 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,7 +15,7 @@ nettyIoUring = "0.0.21.Final" [plugins] dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.5" } dokka = { id = "org.jetbrains.dokka", version = "1.8.20" } -kotlinter = { id = "org.jmailen.kotlinter", version = "3.13.0" } +kotlinter = { id = "org.jmailen.kotlinter", version = "3.16.0" } shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" } versions = { id = "com.github.ben-manes.versions", version = "0.47.0" }