From 092a086d828d5b72aed8c7d4da1aa010755a52d7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer <mschiffer@universe-factory.net> Date: Sun, 23 Mar 2025 00:17:01 +0100 Subject: [PATCH] lint: sh: enable previously disabled warnings The only warnings that remain disabled globally for now handle the differences between POSIX sh and Busybox ash, as support for the latter was only added in shellcheck 0.10. --- scripts/lint-sh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint-sh.sh b/scripts/lint-sh.sh index 93b3d09a4..013ef1c5c 100755 --- a/scripts/lint-sh.sh +++ b/scripts/lint-sh.sh @@ -17,7 +17,7 @@ find package -type f | while read -r file; do is_scriptfile "$file" || continue echo "Checking $file" - shellcheck -f gcc -x -s sh -e SC2039,SC1091,SC2155,SC2034,SC3043,SC3037,SC3057 "$file" + shellcheck -f gcc -x -s sh -e SC2039,SC3043,SC3037,SC3057 "$file" done find scripts -type f | while read -r file; do -- GitLab