From 1881730806b8a86f6f75d5fbe387c13504f91a75 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Mon, 9 Dec 2024 20:36:31 +0900 Subject: [PATCH] Bump spotless(6.23.3 to 6.25.0) and ktlint(1.0.1 to 1.4.0) (#1318) * Bump up - spotless. - ktlint. Change-Id: I4a0d1b4089dd4882df4653303a52f07f2bf6771f * Update gradle/init.gradle.kts * Disable all new features since ktlint 1.3.0. https://github.com/pinterest/ktlint/releases/tag/1.3.0 Change-Id: I8f0ea640c06a2266cf0b7ede0da06bdd32651bbc * Disabled `ktlint_standard_function-signature`. Change-Id: Ib3e6e66d1774b39b5c92ec822308db107b070b82 --------- Co-authored-by: Don Turner --- .editorconfig | 10 ++++++++++ gradle/init.gradle.kts | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 7be3f8784..6c8c930bc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,3 +5,13 @@ ij_kotlin_allow_trailing_comma=true ij_kotlin_allow_trailing_comma_on_call_site=true ktlint_function_naming_ignore_when_annotated_with=Composable, Test +ktlint_standard_backing-property-naming = disabled +ktlint_standard_binary-expression-wrapping = disabled +ktlint_standard_chain-method-continuation = disabled +ktlint_standard_class-signature = disabled +ktlint_standard_condition-wrapping = disabled +ktlint_standard_function-expression-body = disabled +ktlint_standard_function-literal = disabled +ktlint_standard_function-type-modifier-spacing = disabled +ktlint_standard_multiline-loop = disabled +ktlint_standard_function-signature = disabled diff --git a/gradle/init.gradle.kts b/gradle/init.gradle.kts index fe79fa01e..44dc41200 100644 --- a/gradle/init.gradle.kts +++ b/gradle/init.gradle.kts @@ -14,10 +14,10 @@ * limitations under the License. */ -val ktlintVersion = "1.0.1" +val ktlintVersion = "1.4.0" initscript { - val spotlessVersion = "6.23.3" + val spotlessVersion = "6.25.0" repositories { mavenCentral()