mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add lint to ensure substitutions use the full form
Check that any variable substitutions use the full ${VAR} form, not just $VAR (but don't check for quoting yet).
This commit is contained in:
parent
79ef9b4efc
commit
9231ca1c69
10 changed files with 23 additions and 14 deletions
|
@ -7,3 +7,4 @@ set -o nounset
|
|||
# Talking about some `concept in backticks` # shouldn't trigger
|
||||
echo "hello world"
|
||||
some_var=`echo "command substitution"`
|
||||
another_var="$some_var"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue