Hello, I'm using 0.48.1 but cannot disable a rule,...
# ktlint
m
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
which rule are you trying to disable?
m
"package-name", it's stopping me from having underlines in package names. It's just one example though.
s
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
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.
m
p
This issue seems to be caused by Spotless. See issue for remark.