docs: update

This commit is contained in:
Dylan Araps 2018-05-04 17:02:31 +10:00
parent 736b45a9ed
commit ffd711a4ea
1 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,18 @@
# How to Contribute # How to Contribute
## Table of Contents
<!-- vim-markdown-toc GFM -->
* [ShellCheck](#shellcheck)
* [Coding Conventions](#coding-conventions)
* [No no's](#no-nos)
* [If Statements](#if-statements)
* [Case Statements](#case-statements)
<!-- vim-markdown-toc -->
## ShellCheck ## ShellCheck
For your contribution to be accepted, your changes need to pass For your contribution to be accepted, your changes need to pass
@ -52,7 +64,7 @@ fi
# Good # Good
[[ "$var" ]] && echo "$var" [[ "$var" ]] && echo "$var"
# Also good (Use this for longer lines. # Also good (Use this for longer lines).
[[ "$var" ]] && \ [[ "$var" ]] && \
echo "$var" echo "$var"
``` ```