Adjust .shellcheckrc to 0.11 and enable some optional checks

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König
2025-08-04 20:38:27 +02:00
parent 75286a1626
commit 7baa9c5de0

View File

@@ -1,2 +1,6 @@
external-sources=true # allow shellcheck to read external sources
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