Closed djmills64 closed 9 months ago
Unfortunately the external-sources
directive is only supported in ShellCheck v0.8.0 and up!
Thanks. It doesn't seem to be possible to specify multiple folders with "source-path="
I attempted to add a 2nd folder with a colon in between, but then neither folder works. Please advise if there's a way.
Actually it looks like colon separated works on the command line, but from a .shellcheckrc file you seem to need multipe "source-path=" entries. If that is correct, please add to the documentation.
For bugs
shellcheck --version
or "online"): 0.7.0For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
$ shellcheck -x AddRole.sh
produces no output. But without the "-x" I get:
The .shellsheckrc file in the same directory contains:
The "external-sources=true" line is not having the desired effect. The disable line is working - thus confirming that the file is used.
Here's what shellcheck currently says:
Here's what I wanted or expected to see: