Closed Taewan-P closed 1 year ago
Yes I am working on a solution for this for ktlint 0.48+. I hope to have it finished by the end of next week
Great! Thank you for the support 😃
@wakingrufus Using version 1.0.0, I see the following error:
Found invalid '.editorconfig' property value: Property 'max_line_length' expects an integer. The parsed 'disabled' is not an integer.
I added
version.set("1.0.0")
additionalEditorconfig.set(
mapOf(
"max_line_length" to "disabled"
)
)
in my build.gradle file. Is this not the way to use the --disabled-rules
option?
Thinking of supporting the CLI option for disabling rules? As disabling rules in
.editorconfig
is deprecated in KtLint version0.48
and are removed in0.49
, the only way to disable the rules globally without.editorconfig
is using the--disabled-rules
option via KtLint CLI.ref) #267