lint: Disable some ShellChecks on Gitian descriptors

These trigger because our Gitian descriptors are out-of-sync with
upstream.
This commit is contained in:
Jack Grigg 2022-08-20 01:37:27 +00:00
parent 3cf26a1c4f
commit 0f84499556
1 changed files with 3 additions and 0 deletions

View File

@ -26,9 +26,12 @@ disabled=(
disabled_gitian=( disabled_gitian=(
SC2001 # See if you can use ${variable//search/replace} instead. SC2001 # See if you can use ${variable//search/replace} instead.
SC2006 # Use $(...) notation instead of legacy backticked `...`. SC2006 # Use $(...) notation instead of legacy backticked `...`.
SC2035 # Use ./*glob* or -- *glob* so names with dashes won't become options.
SC2043 # This loop will only ever run once for a constant value. Did you perhaps mean to loop over dir/*, $var or $(cmd)?
SC2094 # Make sure not to read and write the same file in the same pipeline. SC2094 # Make sure not to read and write the same file in the same pipeline.
SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects. SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
SC2155 # Declare and assign separately to avoid masking return values. SC2155 # Declare and assign separately to avoid masking return values.
SC2164 # Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
SC2230 # which is non-standard. Use builtin 'command -v' instead. SC2230 # which is non-standard. Use builtin 'command -v' instead.
) )