[WIP] shellcheck linting

This commit is contained in:
Juan David Hurtado G
2024-12-08 21:34:36 -05:00
parent b6bf75a4ef
commit 7927385458
8 changed files with 39 additions and 26 deletions

View File

@@ -22,7 +22,9 @@ jobs:
# Excluding SC3037: In POSIX sh, echo flags are undefined. Ignoring temporarily until we decide to keep it or
# use printf instead
# Excluding SC2155: Declare and assign separately to avoid masking return values.
SHELLCHECK_OPTS: -e SC3043 -e SC2154 -e SC3037 -e SC2155
# Excluding SC2124: Assigning an array to a string! Check instead if this is a false positive or if there is
# a better way to do it.
SHELLCHECK_OPTS: -e SC3043 -e SC2154 -e SC3037 -e SC2155 -e SC2124
with:
severity: warning
scandir: "./usr/local/share/bastille"