mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 05:21:34 -07:00
Specify 'variable' in require-braces
This commit is contained in:
parent
64c9c83cc8
commit
861b63aa77
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ optionalTreeChecks = [
|
|||
}, nodeChecksToTreeCheck [checkDefaultCase])
|
||||
|
||||
,(newCheckDescription {
|
||||
cdName = "require-braces",
|
||||
cdName = "require-variable-braces",
|
||||
cdDescription = "Suggest putting braces around all variable references",
|
||||
cdPositive = "var=hello; echo $var",
|
||||
cdNegative = "var=hello; echo ${var}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue