mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 21:33:50 -07:00
Make SC2230 optional
This commit is contained in:
parent
0a4580e234
commit
0f15fa49ba
4 changed files with 37 additions and 10 deletions
|
@ -275,8 +275,8 @@ Here is an example `.shellcheckrc`:
|
|||
# Turn on warnings for unassigned uppercase variables
|
||||
enable=check-unassigned-uppercase
|
||||
|
||||
# Allow using `which` since it gives full paths and is common enough
|
||||
disable=SC2230
|
||||
# Allow [ ! -z foo ] instead of suggesting -n
|
||||
disable=SC2236
|
||||
|
||||
If no `.shellcheckrc` is found in any of the parent directories, ShellCheck
|
||||
will look in `~/.shellcheckrc` followed by the XDG config directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue