From c20d609d084551103d15464ed87048fa2d57341e Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Fri, 22 Mar 2024 20:55:08 +0900 Subject: [PATCH 1/4] Bump up - spotless. - ktlint. Change-Id: I4a0d1b4089dd4882df4653303a52f07f2bf6771f --- gradle/init.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/init.gradle.kts b/gradle/init.gradle.kts index fe79fa01e5..78fd14c77a 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.2.1" initscript { - val spotlessVersion = "6.23.3" + val spotlessVersion = "6.25.0" repositories { mavenCentral() From a784b00d75e5b070cc7bd11da0e5657f04b1678f Mon Sep 17 00:00:00 2001 From: Don Turner Date: Tue, 29 Oct 2024 11:38:47 +0000 Subject: [PATCH 2/4] Update gradle/init.gradle.kts --- gradle/init.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/init.gradle.kts b/gradle/init.gradle.kts index 78fd14c77a..44dc412005 100644 --- a/gradle/init.gradle.kts +++ b/gradle/init.gradle.kts @@ -14,7 +14,7 @@ * limitations under the License. */ -val ktlintVersion = "1.2.1" +val ktlintVersion = "1.4.0" initscript { val spotlessVersion = "6.25.0" From 722b3f523147fc3ec29e269fabf82494ebbe9f51 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Thu, 31 Oct 2024 19:48:53 +0900 Subject: [PATCH 3/4] Disable all new features since ktlint 1.3.0. https://github.com/pinterest/ktlint/releases/tag/1.3.0 Change-Id: I8f0ea640c06a2266cf0b7ede0da06bdd32651bbc --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.editorconfig b/.editorconfig index 7be3f8784f..88da08e3c3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,3 +5,12 @@ 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 From 8c1e06ee5db86546a7b5789d60d778428bd175db Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Thu, 31 Oct 2024 20:02:44 +0900 Subject: [PATCH 4/4] Disabled `ktlint_standard_function-signature`. Change-Id: Ib3e6e66d1774b39b5c92ec822308db107b070b82 --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 88da08e3c3..6c8c930bca 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,3 +14,4 @@ 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