https://kotlinlang.org logo
#ktlint
Title
d

dylangreenuk

10/12/2020, 5:49 PM
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

romtsn

10/13/2020, 8:46 PM
spotless might be using an older version of ktlint by default
d

dylangreenuk

10/13/2020, 8:46 PM
i specify the version via spotless 🙂
r

romtsn

10/13/2020, 8:50 PM
interesting..
37 Views