shellcheck: require-double-brackets

using double brackets `[[ ... ]]` is a better practice and generally more powerful

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-14 16:24:49 +02:00
parent fece959fc5
commit e7b6a19702

View File

@@ -4,6 +4,7 @@ enable=avoid-nullary-conditions
enable=deprecate-which
enable=quote-safe-variables
enable=require-variable-braces
enable=require-double-brackets
# SC2162: `read` without `-r` will mangle backslashes.
# https://github.com/koalaman/shellcheck/wiki/SC2162