spotless
spotless copied to clipboard
Add cleanthat to spotless config
This refers to https://github.com/diffplug/spotless/issues/1532, considering var usage enforcement.
It does not implement unless the line has a comment part of the spec. I wonder how much this is a strict requirement. (Also, does it include comment before the variable declaration ? What if the variable declaration stands on multiple rows?)
This fails with spotless-gradle 6.15.0 ; the fix is pending for next spotless-gradle release.
@nedtwigg This has been resynced with main. Ready-for-merging
I am eager to add cleanthat to our code style. But change in our code style will cause merge conflicts, so this PR is also blocked on
- #1096
- #1097