mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 16:26:26 +08:00
Whitelist docker for SC2016 about '$var'. Fixes #1161
This commit is contained in:
@@ -815,6 +815,7 @@ checkSingleQuotedVariables params t@(T_SingleQuoted id s) =
|
|||||||
,"xprop"
|
,"xprop"
|
||||||
,"alias"
|
,"alias"
|
||||||
,"sudo" -- covering "sudo sh" and such
|
,"sudo" -- covering "sudo sh" and such
|
||||||
|
,"docker" -- like above
|
||||||
,"dpkg-query"
|
,"dpkg-query"
|
||||||
,"jq" -- could also check that user provides --arg
|
,"jq" -- could also check that user provides --arg
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user