commit 2349a1ed857b3be4179f3ce3f3cc1a7ccf080902
parent fd18f6979ed315a7165a438962a41dfd544d518e
Author: Ben Alpert <ben@benalpert.com>
Date: Sun, 1 Mar 2015 18:27:21 -0800
Merge pull request #127 from kevinb7/contrib_style_decls
Added rule to the style guide section for where to declare variables
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
@@ -100,6 +100,7 @@ Code
- 4 spaces for indentation
- 80 character line length
- commas last
+ - declare variables in the outermost scope that they are used
In general, try to make your code blend in with the surrounding code.