I enjoy clean, consistent code. I think teams should enforce this on their code bases.
However, I want to spend 0 time fudging around with alphabetizing my imports, messing with tab/space characters, and other unpleasantries like that.
I use an IDE (Intellij) with a great auto formatter. It will even re-arrange imports, etc.
I have checkstyle up and running, and I would like to be able to just enforce the code style that results when I autoformat in intellij. Thus the rule of the land all team members will be "just do the autoformat and you good"
Is there a checkstyle.xml out there that meets this requirement? Or a way to achieve this?
There is no tool, so I took google's and started tweaking it.