We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading to Version 9.0.0 and changing my Gradle implementation Ktlint fails the build after:
ktlintApplyToIdea
ktlintFormat
ktlintCheck
... HelperExtensions.kt:3:1: Imports must be ordered in lexicographic order without any empty lines in-between
The imports in HelperExtensions.kt:
HelperExtensions.kt
import android.content.Context import android.graphics.Bitmap import android.graphics.Color.BLACK import android.graphics.Color.WHITE import android.os.Bundle import android.os.Handler import android.util.Base64 import android.view.View import android.view.inputmethod.InputMethodManager import android.widget.EditText import androidx.annotation.IdRes import androidx.fragment.app.FragmentActivity import androidx.lifecycle.MutableLiveData import androidx.navigation.NavController import androidx.navigation.NavDirections import androidx.navigation.NavOptions import androidx.navigation.fragment.FragmentNavigator import at.risedev.coffeecash.core.R import at.risedev.coffeecash.core.custom.ErrorDialogFragment import com.google.zxing.BarcodeFormat import com.google.zxing.MultiFormatWriter import com.google.zxing.WriterException import com.google.zxing.common.BitMatrix import timber.log.Timber import java.math.BigDecimal import java.util.Locale
The text was updated successfully, but these errors were encountered:
You are affected by this ktlint issue: pinterest/ktlint#527
Sorry, something went wrong.
I now fixed this issue in version 9.1.1 by adding the following to my .editorconfig (root folder):
.editorconfig
[*.{kt,kts}] disabled_rules=import-ordering
No branches or pull requests
After upgrading to Version 9.0.0 and changing my Gradle implementation Ktlint fails the build after:
ktlintApplyToIdea
Gradle task and restarted IDE.ktlintFormat
and fixed the remaining WildCard Errors with autoformat afterktlintCheck
run.ktlintCheck
and the following error can't be resolved with auto-format:... HelperExtensions.kt:3:1: Imports must be ordered in lexicographic order without any empty lines in-between
The imports in
HelperExtensions.kt
:The text was updated successfully, but these errors were encountered: