Updated Directive (markdown)

Vidar Holen
2021-09-15 18:09:41 -07:00
parent 9bc357e10d
commit d2918e3309

@@ -49,6 +49,14 @@ echo "Hello $USER" # Will suggest ${USER}
To see a list of optional checks with examples, run `shellcheck --list-optional`. See [[here|optional]] for more information. To see a list of optional checks with examples, run `shellcheck --list-optional`. See [[here|optional]] for more information.
### external-sources
Set whether or not to follow arbitrary file paths in `source` statements (since 0.8.0).
Use `external-sources=true` in `.shellcheckrc` to let shellcheck access arbitrary files, whether or not they're specified as input. `external-sources=false` disables this, which is the default.
Individual script files can disable but not enable this option.
### source ### source
Tell ShellCheck where to find a sourced file (since 0.4.0): Tell ShellCheck where to find a sourced file (since 0.4.0):