File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 2424# Disabled warnings:
2525disabled=(
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 $?.
You can’t perform that action at this time.
0 commit comments