Use .editorconfig to disable ktlint rule (#1844)
This commit is contained in:
1 parent
8f8fe513fa
commit
bbe8fd6b8f
2 files changed
+2
-1
No files matched your search
@@ -2,3 +2,4 @@
|
||||
ij_kotlin_imports_layout = *
|
||||
ktlint_code_style = intellij_idea
|
||||
ktlint_function_naming_ignore_when_annotated_with = Composable
|
||||
ktlint_standard_class-signature = disabled
|
||||
@@ -310,7 +310,7 @@ spotless {
|
||||
kotlin {
|
||||
// https://github.com/diffplug/spotless/issues/111
|
||||
target("src/**/*.kt")
|
||||
ktlint(ktlintVersion).editorConfigOverride(mapOf("ktlint_standard_class-signature" to "disabled"))
|
||||
ktlint(ktlintVersion)
|
||||
}
|
||||
kotlinGradle {
|
||||
ktlint(ktlintVersion)
|
||||
|
||||
Reference in new issue
Block a user