Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Mention loading function arguments into named local variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Dec 26, 2015
1 parent 961157f commit bfc74a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ repository.**
* (Try to) Keep code within 80 columns.
* Use [bash] <= 3.x features.
* Use the `function` keyword for functions.
* Load function arguments into local variables for readability
(ex: `local ruby="$1"`).
* Put curly braces on a new line so they align.
* Quote all String variables.
* Use `(( ))` for arithmetic expressions and `[[ ]]` otherwise.
Expand Down

0 comments on commit bfc74a7

Please sign in to comment.