SERG-Delft / jpacman-template

Template to start working on a solution for JPacman software testing exercises.
2 stars 10 forks source link

Add checkstyle rules for uniform indentation #28

Closed casperboone closed 7 years ago

casperboone commented 7 years ago

See https://github.com/SERG-Delft/jpacman-framework/pull/113.

This PR introduces checkstyle rules to make the type of indentation consistent.

The rules disallow the use of tabs (as done in both Google Java Style as Checkstyle Style), because "Developers should not need to configure the tab width of their text editors in order to be able to read source code." (http://checkstyle.sourceforge.net/config_whitespace.html#FileTabCharacter).

There are also rules for the number of spaces, based on Checkstyle Style and the current state of the project.