Use .editorconfig to disable ktlint rule (#1844)

This commit is contained in:
FooIbar authored and GitHub committed 2024-10-30 13:58:53 +00:00
1 parent 8f8fe513fa
commit bbe8fd6b8f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,3 +2,4 @@
ij_kotlin_imports_layout = * ij_kotlin_imports_layout = *
ktlint_code_style = intellij_idea ktlint_code_style = intellij_idea
ktlint_function_naming_ignore_when_annotated_with = Composable ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_class-signature = disabled
+1 -1
View File
@@ -310,7 +310,7 @@ spotless {
kotlin { kotlin {
// https://github.com/diffplug/spotless/issues/111 // https://github.com/diffplug/spotless/issues/111
target("src/**/*.kt") target("src/**/*.kt")
ktlint(ktlintVersion).editorConfigOverride(mapOf("ktlint_standard_class-signature" to "disabled")) ktlint(ktlintVersion)
} }
kotlinGradle { kotlinGradle {
ktlint(ktlintVersion) ktlint(ktlintVersion)