ci: move shellcheck options to .shellcheckrc

That way, IDEs get to have the same behaviour as the CI

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31826>
This commit is contained in:
Eric Engestrom
2024-10-23 15:44:06 +02:00
committed by Marge Bot
parent e2eba3c7da
commit 460c2eb967
3 changed files with 12 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ anyfailed=0
while IFS= read -r -d $'' file; do
if is_bash "$file" ; then
if ! shellcheck -x -W0 -s bash "$file"; then
if ! shellcheck "$file"; then
anyfailed=1
fi
fi