Optionally check for unassigned uppercase variables

This commit is contained in:
Vidar Holen
2019-06-02 10:25:22 -07:00
parent 1297ef46d7
commit 9f0ef5983a
3 changed files with 19 additions and 2 deletions

View File

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