From e7b6a1970263dfc94480dd95805b24ff1a0fbda3 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sat, 14 May 2022 16:24:49 +0200 Subject: [PATCH] shellcheck: require-double-brackets using double brackets `[[ ... ]]` is a better practice and generally more powerful Signed-off-by: Dominik Willner th33xitus@gmail.com --- .shellcheckrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.shellcheckrc b/.shellcheckrc index e5c572b..faf9529 100644 --- a/.shellcheckrc +++ b/.shellcheckrc @@ -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