From 19a8329bfeb9a632597f49ba313d541631eaad26 Mon Sep 17 00:00:00 2001 From: CoolOppo Date: Sat, 4 Oct 2014 12:26:40 -0700 Subject: [PATCH] Formatted with markdownfmt --- Coding-style-guide.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Coding-style-guide.md b/Coding-style-guide.md index 06af2e6..f5005ed 100644 --- a/Coding-style-guide.md +++ b/Coding-style-guide.md @@ -1,4 +1,5 @@ -## Variables +Variables +--------- Meaningful self documenting names should be used, if the variable name does not make it reasonably obvious as to the meaning, appropriate comments should be added. @@ -8,8 +9,8 @@ Preferred naming convention is to use `snake_case` names, and not `CamelCase` or Variables name should not clobber command names, such as `dir`, `pwd` - -## Functions +Functions +--------- Braces should be on the same line as the function name: @@ -27,8 +28,8 @@ function _helper-util() { } ``` - -## General +General +------- Indenting should be done with 2 spaces. @@ -45,4 +46,4 @@ $PWD # do use if [[ -f $1 ]]; then ... fi -``` \ No newline at end of file +```