This style guide is based on the one used by GitHub, but with some changes that make the code a tiny bit more readable.
-
Use soft-tabs with a two space indent.
-
Keep each line of code to a readable length. Unless you have a reason to, keep lines to fewer than 100 characters.
-
Never leave trailing whitespace.