-
Notifications
You must be signed in to change notification settings - Fork 0
/
.shellcheckrc
28 lines (21 loc) · 1.05 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
external-sources=true
disable=SC2139,SC2128,SC2154,SC1090,SC1091,SC2181,SC2015
# SC2139 - This expands when defined, not when used. Consider escaping.
#
# SC2128 - Expanding an array without an index only gives the first element.
#
# SC2154 - var is referenced but not assigned.
# Currently there are vars that are referenced for future implimentation
# disabling this for now.
# SC1090 - Can't follow non-constant source. Use a directive to specify location.
# This application requires the use of variables to define the location for
# installed files. ShellCheck cannot determine what directory the variable
# points to.
# SC1091 - Not following: (error message here)
# This application requires the use of variables to define the loaction for
# the sourced files. ShellCheck cannot determine what directory the variable
# points to.
# SC2181 - Check exit code directly with e.g. if mycmd;, not indirectly with $?.
#
# SC2015 - A && B || C is not if-then-else. C may run when A is true.
# C needs to run if A or B is true, this is a false positive