mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 13:53:58 -07:00
Optionally check for unassigned uppercase variables
This commit is contained in:
parent
1297ef46d7
commit
9f0ef5983a
3 changed files with 19 additions and 2 deletions
|
@ -251,6 +251,9 @@ Here is an example `.shellcheckrc`:
|
|||
# Turn on warnings for unquoted variables with safe values
|
||||
enable=quote-safe-variables
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue