commit 0189b96b92133ea0aa858a94f0fe0e112995e965
parent 0236cdc619f0f3cbd5059cb6588b18669a0ebf5b
Author: Kevin Barabash <kevinb7@gmail.com>
Date: Thu, 25 Sep 2014 14:32:37 -0600
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.