mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Explain that env var is optional.
@@ -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
|
||||
|
||||
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"
|
||||
|
||||
|
Reference in New Issue
Block a user