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
Emil Kantis
02/15/2023, 9:01 PM
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.