shellcheck
shellcheck copied to clipboard
shellcheckrc exclude range doesnt include last item in range
for example:
# ~/.shellcheckrc
disable=SC3001-SC3060 # Disable POSIX compliance checks
in the above disable rule, I would assume it would exclude 3001 through and including 3060, but in practice it does not exclude 3060. In order to ignore the range, i have to specify SC3001-SC3061
which imo is a little bit counter-intuitive.
If this was intended behavior, its worth spelling it out in the documentation. Otherwise modify the range check code to include the last number of the specified range.