This site is ment to be an example of our style and not ment to be the "end all be all" of Apex stylization. The best advice I can give is to be consistant and stick with a style that works best for you
This guide is broken up sections based on the type of code being used. Where applicable Checkstyle references will be provided
checkstyle.properties
filebasedir=/path/to/src
apex_checks.xml
filejava -jar checkstyle.jar -p checkstyle.properties -c apex_checks_combined.xml /path/to/src/classes/MyClass.cls