Make SC2230 optional

This commit is contained in:
Vidar Holen
2019-12-07 16:06:34 -08:00
parent 0a4580e234
commit 0f15fa49ba
4 changed files with 37 additions and 10 deletions

View File

@@ -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