Hey :wave: I’m trying to upgrade ktlint to `0.45.1...
# ktlint
m
Hey 👋 I’m trying to upgrade ktlint to
0.45.1
and I have some doubts/thoughts 🙂 1. Can someone share what’s the future of
userData
map, does it only change its purpose, or will it be removed completely at some point? The code I was upgrading had been passing
indent_size
and
disabled_rules
within
userData
map. The migration path for
indent_size
seemed to be hidden but I was able to identify
DefaultEditorConfigProperties.indentSizeProperty
which looked legitimate and worked in my case, but I couldn’t find a replacement for
disabled_rules
. The fact
ExperimentalParams
still takes
userData
suggests that’s still the “recommended” option, am I wrong here? What’s the proper way to pass rules that I expect to be disabled?