Closed ShindongLee closed 1 month ago
never mind,
I am using gradle multi module, and I moved the ktlint block in build.gradle.kts
ktlint {
version.set("1.2.1")
}
into subproject
subprojects {
ktlint {
version.set("1.2.1")
}
}
and it disabled the rules.
Thank you.
Nice you solved it yourselves. Enjoy using ktlint!
I've read issue https://github.com/pinterest/ktlint/issues/2445 which is resolved but I am having same experiences.
Expected Behavior
Rule value-argument-comment and value-parameter-comment is disabled
Observed Behavior
ktlintFormat / ktlintCheck fails with error:
Steps to Reproduce
.editorconfig
code
Your Environment
.editorconfig
settings