Add more editor configs and move ktlint config to it (#1731)

This commit is contained in:
AntsyLich
2025-02-15 19:51:10 +06:00
committed by GitHub
parent a80965f7f1
commit 34d1e6fa27
2 changed files with 23 additions and 10 deletions

View File

@ -23,13 +23,6 @@ spotless {
target("**/*.kt", "**/*.kts")
targetExclude("**/build/**/*.kt")
ktlint(libs.ktlint.core.get().version)
.editorConfigOverride(mapOf(
"ktlint_function_naming_ignore_when_annotated_with" to "Composable",
"ktlint_standard_class-signature" to "disabled",
"ktlint_standard_discouraged-comment-location" to "disabled",
"ktlint_standard_function-expression-body" to "disabled",
"ktlint_standard_function-signature" to "disabled",
))
trimTrailingWhitespace()
endWithNewline()
}