Search code examples
android-studiokotlingradlektlint

Ktlint fails with Wildcard import (cannot be auto-corrected)


When I run gradlew ktlintCheck it fails with a lot of

Wildcard import (cannot be auto-corrected)

errors.


Solution

  • Create a .editorconfig file on root level and add amongst others:

    disabled_rules=no-wildcard-imports