forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.shellcheckrc
25 lines (24 loc) · 1.96 KB
/
.shellcheckrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# until https://github.com/checkstyle/checkstyle/issues/11637
disable=SC2207 # (warning): Prefer mapfile or read -a to split command output.
# SC2002 permanently disabled, rightward flow of logic (via pipe) is simple to understand
disable=SC2002 # (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
disable=SC2035 # (info): Use ./glob or -- glob so names with dashes won't become options.
disable=SC2185 # (info): Some finds don't have a default path. Specify '.' explicitly.
disable=SC2155 # (warning): Declare and assign separately to avoid masking return values.
disable=SC2034 # (warning): RUN_JOB appears unused. Verify use (or export if used externally).
disable=SC2216 # (warning): Piping to 'true', a command that doesn't read stdin.
disable=SC2013 # (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
disable=SC2206 # (warning): Quote to prevent word splitting/globbing.
disable=SC2143 # (style): Use grep -q instead of comparing output with [ -n .. ].
disable=SC2004 # (style): $/${} is unnecessary on arithmetic variables.
disable=SC2087 # (warning): Quote 'EOF' to make here document expansions happen on the server-side.
disable=SC2102 # (info): Ranges can only match single chars (mentioned due to duplicates).
disable=SC2242 # (error): Can only exit with status 0-255.
disable=SC2115 # (warning): Use "${var:?}" to ensure this never expands to /* .
disable=SC2128 # (warning): Expanding an array without an index only gives the first element.
disable=SC2063 # (warning): Grep uses regex, but this looks like a glob.
# SC2126 permanently disabled, 'grep | wc -l' is easier to read than 'grep -c || true'
disable=SC2126 # (style): Consider using grep -c instead of grep|wc -l.
disable=SC2015 # (info): Note that A && B || C is not if-then-else. C may run when A is true.
disable=SC2230 # which is non-standard. Use builtin 'command -v' instead.
disable=SC2153 # Possible misspelling: LINKED_ISSUES may not be assigned, but LINKED_ISSUE is.