how often is autocorrect implemented? I was surpri...
# detekt
z
how often is autocorrect implemented? I was surprised to see that
VarCouldBeVal
didn’t implement it for what seems like a trivial-ish change. In some quick testing, I don’t really see any other autocorrects kicking in when updating from 1.18 to 1.20
s
Autocorrect is only implemented for rules in the
formatting
rule set, which are wrapped from ktlint. Detekt's native rules don't support autocorrect.
☝️ 1
z
ahhhh I misunderstood that, thanks