Adjust .shellcheckrc to 0.11 and enable some optional checks
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
@@ -1,2 +1,6 @@
|
|||||||
external-sources=true # allow shellcheck to read external sources
|
external-sources=true # allow shellcheck to read external sources
|
||||||
disable=SC3043 #disable SC3043: In POSIX sh, local is undefined.
|
disable=SC3043 #disable SC3043: In POSIX sh, local is undefined.
|
||||||
|
enable=useless-use-of-cat # disabled by default as of shellcheck 0.11.0
|
||||||
|
enable=avoid-negated-conditions # avoid-negated-conditions is optional as of shellcheck 0.11.0
|
||||||
|
enable=require-variable-braces
|
||||||
|
enable=deprecate-which
|
||||||
|
|||||||
Reference in New Issue
Block a user