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:
@@ -4,6 +4,7 @@ enable=avoid-nullary-conditions
|
|||||||
enable=deprecate-which
|
enable=deprecate-which
|
||||||
enable=quote-safe-variables
|
enable=quote-safe-variables
|
||||||
enable=require-variable-braces
|
enable=require-variable-braces
|
||||||
|
enable=require-double-brackets
|
||||||
|
|
||||||
# SC2162: `read` without `-r` will mangle backslashes.
|
# SC2162: `read` without `-r` will mangle backslashes.
|
||||||
# https://github.com/koalaman/shellcheck/wiki/SC2162
|
# https://github.com/koalaman/shellcheck/wiki/SC2162
|
||||||
|
|||||||
Reference in New Issue
Block a user