ran it from cmd (simple ktlint in the offending fo...
# ktlint
d
ran it from cmd (simple ktlint in the offending folder), got a related warning:
Copy code
TextInputLayoutMatchers.kt:3:1: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
funny, spotless didnt report the numerous other warnings eg
Copy code
unexpected indentation (28) (should be 24)
Missing newline before ")"
etc
r
spotless might be using an older version of ktlint by default
d
i specify the version via spotless 🙂
r
interesting..