From f72938f2d49569f80f4acfe29bae783f6cb7dbcf Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Wed, 19 Oct 2022 12:22:44 -0700 Subject: [PATCH] disable SC 1091 see: https://www.shellcheck.net/wiki/SC1091 --- hack/verify-shellcheck.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/verify-shellcheck.sh b/hack/verify-shellcheck.sh index c6a506e8db9..258c1831169 100755 --- a/hack/verify-shellcheck.sh +++ b/hack/verify-shellcheck.sh @@ -39,6 +39,10 @@ disabled=( # this lint disallows non-constant source, which we use extensively without # any known bugs 1090 + # this lint warns when shellcheck cannot find a sourced file + # this wouldn't be a bad idea to warn on, but it fails on lots of path + # dependent sourcing, so just disable enforcing it + 1091 # this lint prefers command -v to which, they are not the same 2230 )