Add .shellcheckrc to silence lints

This commit is contained in:
Zane Duffield
2026-01-14 11:41:05 +11:00
committed by Andrew Kesterson
parent 4bff72f4d2
commit 7aedd40945

8
.shellcheckrc Normal file
View File

@@ -0,0 +1,8 @@
# Many array expressions are constructed and eval-ed
disable=SC2016
# False positive on "CMDARG_ERROR_BEHAVIOR=return"
disable=SC2209
# Checking exit code with $? is more of a preference when the script doesn't try to support the errexit shell option
disable=SC2181
# Masking exit codes isn't much of a problem in this script
disable=SC2155