-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shellcheckrc
More file actions
34 lines (26 loc) · 1001 Bytes
/
.shellcheckrc
File metadata and controls
34 lines (26 loc) · 1001 Bytes
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
enable=all
shell=bash
# foo appears unused. Verify it or export it.
# https://www.shellcheck.net/wiki/SC2034
disable=SC2034
# Prefer putting braces around variable references even when not strictly required
# https://www.shellcheck.net/wiki/SC2250
disable=SC2250
# ShellCheck can't follow non-constant source. Use a directive to specify location
# https://www.shellcheck.net/wiki/SC1090
disable=SC1090
# Not following: ./script.sh was not specified as input (see shellcheck -x)
# https://www.shellcheck.net/wiki/SC1091
disable=SC1091
# Use a ( subshell ) to avoid having to cd back.
# https://www.shellcheck.net/wiki/SC2103
disable=SC2103
# var is referenced but not assigned.
# https://www.shellcheck.net/wiki/SC2154
disable=SC2154
# Use cd ... || exit in case cd fails.
# https://www.shellcheck.net/wiki/SC2164
disable=SC2164
# Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
# https://www.shellcheck.net/wiki/SC2312
disable=SC2312