Adding Style Guidelines

master
martgras 2018-03-25 14:57:25 +02:00
parent a16cad8e86
commit 86f84c0cc4
1 changed files with 9 additions and 0 deletions

@ -192,4 +192,13 @@ https://github.com/Neilpang/acme.sh/issues/1261
2. Add your dns api to the support list: https://github.com/Neilpang/acme.sh/tree/dev#8-automatic-dns-api-integration 2. Add your dns api to the support list: https://github.com/Neilpang/acme.sh/tree/dev#8-automatic-dns-api-integration
## Style Guidelines
acme.sh uses shellcheck for new commits and also enforces style guidelines.
To avoid the most common travis failures:
* Use indentation with 2 spaces
* remove trailing spaces
* Doublequote variables (use echo _debug "txtvalue=$txtvalue" instead of _debug txtvalue=$txtvalue)
* Always check the travis results after a commit
* Consider using shellcheck (https://www.shellcheck.net/) before commiting