I disable import-ordering, no-wildcard-imports bec...
# ktlint
d
I disable import-ordering, no-wildcard-imports because its not automatically corrected. What sort of strategies do people use on a team to automatically get this to format. I know I can fix it for the specific file pretty easy but trying to have a good configuration and make it so formatting is as automatic as possible?
e
no-wildcard-imports can be configured in intellij or with editorconfig. (at least with intellij, not sure about AS) import-ordering can be autofixed by intellij as well.. we use ktlint-gradle in CI to enforce lint rules.
p
btw we use spoteless and is working ok
403 Views