From 4ab2e2ed14080f781a32552130070bc8e1acf827 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 22 Feb 2013 08:31:24 +0100 Subject: [PATCH] more style rules --- HACKING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HACKING.md b/HACKING.md index 2bdb32f8..cf7fe101 100644 --- a/HACKING.md +++ b/HACKING.md @@ -28,6 +28,8 @@ Please follow the these guidelines. Some are just preference, others are good pr - jQuery is your friend - indent using two spaces - opening brace on the same line with a space after the if/for/etc: `if(blub) {` +- else clauses: `} else if(blub) {` or `} else {` +- comments: `// this is a comment` - there is no length limit on lines, but try to keep them short where suitable