Closed sming closed 3 years ago
Hi @spotify/prism (sorry if this is irrelevant to you, I couldn't be arsed typing in ~10 names), please add your pet peeves with our current checkstyle config e.g. "I hate more than one parameter a line!!!" or "we must stop unsorted imports. It is an abomination."
So I've managed to implement most of the above, apart from inconsistent indentation in import
statements - see my SO question.
I'll commit my changes for now and give it until Monday 23rd for an answer on SO. If no answer, I'll call this done.
I am putting this back in To-Do because it wasn't as straightforward as it seemed and the stability work must be wrapped up within 2 sprints (IIRC).
OK. So. Adding the two checkstyle
directives/modules (Indentation
and EmptyLineSeparator
) spawned literally hundreds of errors in the heroic-component
module alone :(
Hence I will create a second issue to fix all the errors. That will take a fair bit of manual work!
TLD/checkstyle.xml
does not contain rules that would flag the below code. We should add them.