You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stage the file and try to commit -> precommit hook will fail the commit
Remove the import
Without staging the file, try to commit -> commit will be allowed with unused import being commited
Behaviour is inconsistent with manually running ./gradlew ktlintCheck while having unstaged fixes, which will correctly complain about the unused import.
The text was updated successfully, but these errors were encountered:
Reproduction:
Behaviour is inconsistent with manually running
./gradlew ktlintCheck
while having unstaged fixes, which will correctly complain about the unused import.The text was updated successfully, but these errors were encountered: