Explain that env var is optional.

Michał Sochoń
2018-05-22 18:42:12 +02:00
parent 8a1e6dc024
commit b1679fac3c

@@ -29,7 +29,7 @@ Pass it to Docker directly:
docker run -e SHELLCHECK_OPTS="-e SC2059 -e SC2034 -e SC1090" -v "$PWD:/mnt" koalaman/shellcheck myscript docker run -e SHELLCHECK_OPTS="-e SC2059 -e SC2034 -e SC1090" -v "$PWD:/mnt" koalaman/shellcheck myscript
Set the `SHELLCHECK_OPTS` variable in shell: Optionally you can set the `SHELLCHECK_OPTS` variable in shell:
export SHELLCHECK_OPTS="-e SC2059 -e SC2034 -e SC1090" export SHELLCHECK_OPTS="-e SC2059 -e SC2034 -e SC1090"