JStonham / budjen

MIT License
0 stars 0 forks source link

Add checkstyle #33

Closed kinbiko closed 5 years ago

kinbiko commented 5 years ago

Addresses #21

Adds some style linting to Budjen. This means that if we violate any of the rules in this ruleset (defined by the configuration in checkstyle.xml) we will fail the build.

I've based this off of Google's checkstyle configuration, and removed the checks I disagree with (which would have made this PR a lot bigger!). I've also addressed the checks I agree with that we were violating - hence the changes to some of the source code.