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 24
24
# Disabled warnings:
25
25
disabled=(
26
26
SC1087 # Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
27
- SC1117 # Backslash is literal in "\.". Prefer explicit escaping: "\\.".
28
27
SC2001 # See if you can use ${variable//search/replace} instead.
29
28
SC2004 # $/${} is unnecessary on arithmetic variables.
30
29
SC2005 # Useless echo? Instead of 'echo $(cmd)', just use 'cmd'.
@@ -36,7 +35,6 @@ disabled=(
36
35
SC2066 # Since you double quoted this, it will not word split, and the loop will only run once.
37
36
SC2086 # Double quote to prevent globbing and word splitting.
38
37
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.
40
38
SC2162 # read without -r will mangle backslashes.
41
39
SC2166 # Prefer [ p ] {&&,||} [ q ] as [ p -{a,o} q ] is not well defined.
42
40
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