Skip to content

Commit a517541

Browse files
Remove no longer needed shellcheck suppressions
1 parent 0b7196e commit a517541

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/lint/lint-shell.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ fi
2424
# Disabled warnings:
2525
disabled=(
2626
SC1087 # Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
27-
SC1117 # Backslash is literal in "\.". Prefer explicit escaping: "\\.".
2827
SC2001 # See if you can use ${variable//search/replace} instead.
2928
SC2004 # $/${} is unnecessary on arithmetic variables.
3029
SC2005 # Useless echo? Instead of 'echo $(cmd)', just use 'cmd'.
@@ -36,7 +35,6 @@ disabled=(
3635
SC2066 # Since you double quoted this, it will not word split, and the loop will only run once.
3736
SC2086 # Double quote to prevent globbing and word splitting.
3837
SC2116 # Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.
39-
SC2148 # Tips depend on target shell and yours is unknown. Add a shebang.
4038
SC2162 # read without -r will mangle backslashes.
4139
SC2166 # Prefer [ p ] {&&,||} [ q ] as [ p -{a,o} q ] is not well defined.
4240
SC2181 # Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.

0 commit comments

Comments
 (0)