-
Notifications
You must be signed in to change notification settings - Fork 0
/
.shellcheckrc
52 lines (40 loc) · 1.71 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Can't follow non-constant source. Use a directive to specify location.
# https://github.com/koalaman/shellcheck/wiki/SC1090
disable=SC1090
# Not following: (error message here)
# https://github.com/koalaman/shellcheck/wiki/SC1091
disable=SC1091
# Expressions don't expand in single quotes, use double quotes for that.
# https://github.com/koalaman/shellcheck/wiki/SC2016
disable=SC2016
# Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
# https://github.com/koalaman/shellcheck/wiki/SC2312
disable=SC2312
# Don't use variables in the printf format string. Use printf "..%s.." "$foo".
# https://github.com/koalaman/shellcheck/wiki/SC2059
disable=SC2059
# var is referenced but not assigned.
# https://github.com/koalaman/shellcheck/wiki/SC2154
disable=SC2154
# Want to escape a single quote? echo 'This is how it'\''s done'.
# https://github.com/koalaman/shellcheck/wiki/SC1003
disable=SC1003
# Quote this to prevent word splitting.
# https://github.com/koalaman/shellcheck/wiki/SC2046
disable=SC2046
# Consider using { cmd1; cmd2; } >> file instead of individual redirects.
# https://github.com/koalaman/shellcheck/wiki/SC2129
disable=SC2129
# Use "${array[@]}" (with quotes) to prevent whitespace problems.
# https://github.com/koalaman/shellcheck/wiki/SC2048
disable=SC2048
# Useless cat. Consider 'cmd < file...
# https://www.shellcheck.net/wiki/SC2002
disable=SC2002
# Useless echo? Instead of 'cmd $(e...
# https://www.shellcheck.net/wiki/SC2116
disable=SC2116
# Bash implicitly disabled set -e for this function invocation because it's inside
# a command substitution. Add set -e; before it or enable inherit_errexit.
# https://www.shellcheck.net/wiki/SC2311
disable=SC2311