mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 13:23:55 -07:00
Allow specifying ranges in disable directives
This commit is contained in:
parent
43191fa71d
commit
58783ab3cc
5 changed files with 13 additions and 6 deletions
|
@ -232,7 +232,8 @@ Valid keys are:
|
|||
**disable**
|
||||
: Disables a comma separated list of error codes for the following command.
|
||||
The command can be a simple command like `echo foo`, or a compound command
|
||||
like a function definition, subshell block or loop.
|
||||
like a function definition, subshell block or loop. A range can be
|
||||
be specified with a dash, e.g. `disable=SC3000-SC4000` to exclude 3xxx.
|
||||
|
||||
**enable**
|
||||
: Enable an optional check by name, as listed with **--list-optional**.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue