-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.shellcheckrc
32 lines (24 loc) · 931 Bytes
/
.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
shell=bash
# foo appears unused. Verify it or export it.
disable=SC2034
# Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
disable=SC2317
# This function is invoked in an 'if' condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
# disable=SC2310
# Useless cat. Consider cmd < file | .. or cmd file | .. instead.
disable=SC2002
# When used with -p, -m only applies to the deepest directory.
disable=SC2174
# Expressions don't expand in single quotes, use double quotes for that.shellcheck
disable=SC2016
# XXX references arguments, but none are ever passed
disable=SC2120
enable=add-default-case
enable=avoid-nullary-conditions
enable=check-extra-masked-returns
# enable=check-set-e-suppressed
# enable=check-unassigned-uppercase
enable=deprecate-which
enable=quote-safe-variables
enable=require-double-brackets
enable=require-variable-braces