chore(docs): outsourcing environment vars to the documentation (#1948)

Co-authored-by: Frederic Werner <20406381+wernerfred@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
Georg Lauterbach 2021-05-11 12:15:34 +02:00 committed by GitHub
parent 29d630f695
commit 5449efd8d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 188 additions and 147 deletions

View file

@ -2,7 +2,7 @@
title: 'Contributing | Coding Style'
---
##Bash and Shell
## Bash and Shell
When refactoring, writing or altering scripts, that is Shell and bash scripts, in any way, adhere to these rules:
@ -40,7 +40,7 @@ fi
### Variables & Braces
!!! attention
!!! attention
Variables are always uppercase. We always use braces.
@ -51,7 +51,7 @@ If you forgot this and want to change it later, you can use [this link][regex].
local VAR="good"
local NEW="${VAR}"
# bad -> TravisCI will fail
# bad -> CI will fail
var="bad"
new=$var
```