anyone else using spotless gradle plugin with ktlint? and finding that it doesn’t seem to actually check the same things at ktlint?
i.e. if i run
gradle spotlessCheck
i get no issues, but i get a lot when i run
ktlint
s
Sha Sha Chu
11/15/2019, 4:55 AM
I know when we made a breaking API change in ktlint a couple releases ago, Spotless broke and needed updating but I don't know if Spotless ever put up a PR to fix it
Sha Sha Chu
11/15/2019, 4:56 AM
Also just FYI there is a #ktlint channel. It's not super active, but I have notifications on for that channel so we might be a bit faster to respond
b
Ben Madore
11/15/2019, 8:23 PM
thanks! yeah, they did supposedly get it fixed https://github.com/diffplug/spotless/issues/419
it’s strange because it will definitely flag some errors, but then there’s a whole host of other ones that it ignores (i.e. doesn’t flag or remove extraneous semicolons)