Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0 (#1853)

* Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0

* Disable expression rule

* Reformat

* Whatever

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
This commit is contained in:
renovate[bot]
2024-06-21 23:35:34 -04:00
committed by GitHub
parent 807934f658
commit 7ea4ecabfe
15 changed files with 46 additions and 22 deletions

View File

@@ -57,7 +57,11 @@ spotless {
}
kotlin {
ktlint(libs.ktlint.get().version).editorConfigOverride(
mapOf("ktlint_standard_filename" to "disabled"),
mapOf(
"ktlint_standard_filename" to "disabled",
// Making something an expression body should be a choice around readability.
"ktlint_standard_function-expression-body" to "disabled",
),
)
target("**/*.kt")
trimTrailingWhitespace()