pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.07k stars 504 forks source link

Warning displays continue to occur for disabled rules #2562

Closed 10000-ki closed 4 months ago

10000-ki commented 4 months ago

plugin version

https://plugins.jetbrains.com/plugin/15057-ktlint

0.20.1

.editorconfig

[*.{kt,kts}]
ktlint_disabled_rules = no-blank-line-in-list, argument-list-wrapping, no-empty-first-line-in-class-body, multiline-expression-wrapping, string-template-indent

IntelliJ

스크린샷 2024-02-23 오후 4 24 26

10000-ki commented 4 months ago

Is there anything wrong with the setting?

10000-ki commented 4 months ago

sorry when i restart intellij, all problems has gone

paul-dingemans commented 4 months ago

Please note that .editorconfig property ktlint_disabled_rules is no longer supported by the ktlint version that is used by the ktlint-intelli-plugin. See https://pinterest.github.io/ktlint/latest/faq/#why-is-editorconfig-property-disabled_rules-deprecated-and-how-do-i-resolve-this