From 968454fa430d0ea20668841df6acfbfad07c0f77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Jan 2023 02:01:02 +0000 Subject: [PATCH 1/3] Bump com.diffplug.spotless from 6.12.0 to 6.14.0 Bumps com.diffplug.spotless from 6.12.0 to 6.14.0. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- library/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index afa112580..dcf3d8592 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -18,7 +18,7 @@ buildscript { } plugins { - id "com.diffplug.spotless" version "6.12.0" + id "com.diffplug.spotless" version "6.14.0" } apply plugin: 'com.android.library' From b73f2ebd3a6bb6b5af42076f930ecec784ff65e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Fri, 27 Jan 2023 09:41:29 +0100 Subject: [PATCH 2/3] Add editorconfig to disable trailing commas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Brey --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..063e4a874 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,3 @@ +[*.{kt,kts}] +ij_kotlin_allow_trailing_comma = false +ij_kotlin_allow_trailing_comma_on_call_site = false From e93ce1004355508ee2e4b9020fbd27db88fb7f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Fri, 27 Jan 2023 09:44:06 +0100 Subject: [PATCH 3/3] Fix ktlint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Brey --- .../java/com/owncloud/android/lib/resources/users/StatusType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/owncloud/android/lib/resources/users/StatusType.kt b/library/src/main/java/com/owncloud/android/lib/resources/users/StatusType.kt index a01c164ce..02b709ce9 100644 --- a/library/src/main/java/com/owncloud/android/lib/resources/users/StatusType.kt +++ b/library/src/main/java/com/owncloud/android/lib/resources/users/StatusType.kt @@ -38,5 +38,5 @@ enum class StatusType(val string: String) { AWAY("away"), @SerializedName("invisible") - INVISIBLE("invisible"); + INVISIBLE("invisible") }