From 041ca3aff25b9165682694e5b44e7ee360670108 Mon Sep 17 00:00:00 2001 From: Niklas Baudy Date: Wed, 29 Nov 2023 21:36:12 -0300 Subject: [PATCH] Update plugin codequalitytools to v0.24.0 --- .editorconfig | 11 +++++++---- build.gradle | 1 - gradle/libs.versions.toml | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6c98409464..8527b5f010 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,11 +1,14 @@ [*.{kt,kts}] +ktlint_code_style=intellij_idea indent_size=2 continuation_indent_size=2 -insert_final_newline=true ij_kotlin_allow_trailing_comma=true ij_kotlin_allow_trailing_comma_on_call_site=true +insert_final_newline=true ktlint_standard_annotation=disabled -ktlint_standard_argument-list-wrapping=disabled -ktlint_standard_spacing-between-declarations-with-annotations=disabled +ktlint_standard_max-line-length=disabled ktlint_standard_filename=disabled -ktlint_standard_property-naming=disabled +ktlint_standard_discouraged-comment-location=disabled +ktlint_standard_class-signature=disabled +ktlint_standard_spacing-between-declarations-with-annotations=disabled +ktlint_experimental=enabled \ No newline at end of file diff --git a/build.gradle b/build.gradle index 2914d56b5d..fd635eab63 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,6 @@ codeQualityTools { } ktlint { toolVersion = libs.versions.ktlint.get() - experimental = true } detekt { enabled = false diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index eab0edd979..d3618e25d9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ targetSdk = "33" androidgradleplugin = "8.1.1" kotlin = "1.8.22" -ktlint = "0.50.0" +ktlint = "1.0.1" [libraries] androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.6.1" }