Hello, I'm using 0.48.1 but cannot disable a rule, not sure what am I doing wrong. With the deprecated editorconfig
disabled_rules = package-name
, the rule is disabled correctly, but when I use the new
ktlint_standard_package-name = disabled
, the rule is not disabled. How do I use the new syntax correctly?
s
Sha Sha Chu
01/13/2023, 6:18 PM
which rule are you trying to disable?
m
Marcin Wisniowski
01/13/2023, 6:55 PM
"package-name", it's stopping me from having underlines in package names. It's just one example though.
s
Sha Sha Chu
01/13/2023, 7:58 PM
hm. can you go ahead and file an issue and include the relevant parts of your
.editorconfig
? and i guess in the meantime you can continue using the deprecated version although I know it's noisy
p
Paul Dingemans
01/13/2023, 8:07 PM
Last week, a couple of similar/related issues have been reported. It seems that toggling experimental rules does not work as expected. I will have a look into that next week.