From 3ebe226372fced1558c43acc53e7ee3e980d4ef9 Mon Sep 17 00:00:00 2001 From: Juul Mobile Bot Date: Fri, 29 Mar 2024 09:16:01 +0000 Subject: [PATCH 1/2] Update plugin kotlinter to v4.3.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 45ca378c..cb7ef7b3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,4 +25,4 @@ android-publish = { id = "com.vanniktech.maven.publish", version = "0.28.0" } api = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.14.0" } dokka = { id = "org.jetbrains.dokka", version = "1.9.20" } kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } -kotlinter = { id = "org.jmailen.kotlinter", version = "4.2.0" } +kotlinter = { id = "org.jmailen.kotlinter", version = "4.3.0" } From 14badbd60f64c6b8b6ad2920f15570ab7ddbfa77 Mon Sep 17 00:00:00 2001 From: Travis Wyatt Date: Mon, 1 Apr 2024 01:30:27 -0700 Subject: [PATCH 2/2] Suppress `standard:argument-list-wrapping` for byte array in `Base64Tests` --- encoding/src/commonTest/kotlin/Base64Tests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/src/commonTest/kotlin/Base64Tests.kt b/encoding/src/commonTest/kotlin/Base64Tests.kt index b07c568c..fc850f15 100644 --- a/encoding/src/commonTest/kotlin/Base64Tests.kt +++ b/encoding/src/commonTest/kotlin/Base64Tests.kt @@ -62,7 +62,7 @@ class Base64Tests { @Test fun encodeBase64_byteArrayWithMsbSet_encodesWithoutException() { // gzip of the string '["a","b","c"]' - @Suppress("ktlint:standard:max-line-length") + @Suppress("ktlint:standard:argument-list-wrapping", "ktlint:standard:max-line-length") val data = byteArrayOf(31, -117, 8, 0, 0, 0, 0, 0, 0, 0, -117, 86, 74, 84, -46, 81, 74, 2, -30, 100, -91, 88, 0, -17, 71, -25, -80, 13, 0, 0, 0) assertEquals(