shellcheck --version or "online"): 0.4.7
$ docker run --rm -v "$(pwd):/mnt" koalaman/shellcheck:latest ./sample.bash --exclude=SC1090,
function sample () {
$1 $2
}
#### Here's what shellcheck currently says:
shellcheck: Prelude.read: no parse
#### Here's what I wanted or expected to see:
If I remove the trailing comma from `--exclude=SC1090,`, it shows the expected output:
In ./script/sample.bash line 4:
$1 $2
^-- SC2086: Double quote to prevent globbing and word splitting.
```
The same behavior also happens if the flag is blank (i.e. --exclude=).
I installed from source on master and the behavior for both of these is fixed. It is not a part of the 5.0.0 release, however.
Thanks, @Tahler. I'll close this issue based on your verification.