superlint/TEMPLATES/.shellcheckrc
Marco Ferrari c26430f868
feat: support arbitrary shellcheck config paths (#5571)
- Support passing an arbitrary path to the shellcheck configuration file
  with the BASH_CONFIG_FILE_NAME variable. This brings shellcheck in
  line with other linters that support configuration files.
- Enable shellcheck external sources using a directive in the
  configuration file, so users can eventually override it if not needed.
- Export command configuration variables that subprocesses might need.

Close #5414
2024-04-25 19:47:55 +00:00

6 lines
170 B
Plaintext

# Look for 'source'd files relative to the checked script
source-path=SCRIPTDIR
# Allow opening any 'source'd file, even if not specified as input
external-sources=true