- [ 6.12.1 ] spotless version
Currently, using the ktlint_disabled_rules causes many warnings to be printed in the console:
Property 'ktlint_disabled_rules' is deprecated: Update all your all '.editorconfig' files. See [link below]
https://pinterest.github.io/ktlint/faq/#why-is-editorconfig-property-disabled_rules-deprecated-and-how-do-i-resolve-this
Following that, if I configure Spotless as below, the config is ignored and rules are still enabled.
configure<com.diffplug.gradle.spotless.SpotlessExtension> {
kotlin {
ktlint("0.48.0")
.editorConfigOverride(
mapOf(
"ktlint_standard_filename" to "disabled",
),
)
}
}
Currently, using the
ktlint_disabled_rulescauses many warnings to be printed in the console:https://pinterest.github.io/ktlint/faq/#why-is-editorconfig-property-disabled_rules-deprecated-and-how-do-i-resolve-this
Following that, if I configure Spotless as below, the config is ignored and rules are still enabled.