mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user