diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-27 13:26:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-27 13:26:15 +1200 |
commit | 6fb537025d12e33754949ba33a85a3b846ce018d (patch) | |
tree | dc0937a0c215272735684fcddd3a07830fb341c5 | |
parent | Add .xprofile (diff) | |
download | dotfiles-6fb537025d12e33754949ba33a85a3b846ce018d.tar.gz dotfiles-6fb537025d12e33754949ba33a85a3b846ce018d.zip |
Use consistent shellcheck call conventions
-rw-r--r-- | lint/bin.sh | 4 | ||||
-rw-r--r-- | lint/games.sh | 2 | ||||
-rw-r--r-- | lint/git-template-hooks.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lint/bin.sh b/lint/bin.sh index a98c6a73..f80f44d2 100644 --- a/lint/bin.sh +++ b/lint/bin.sh @@ -3,7 +3,7 @@ set -- for bin in bin/*.sh ; do set -- "$@" "${bin%.sh}" done -shellcheck -e SC1090 -- "$@" || exit +shellcheck -e SC1090 -e SC1091 -- "$@" || exit # GNU Bash if command -v bash >/dev/null 2>&1 ; then @@ -11,5 +11,5 @@ if command -v bash >/dev/null 2>&1 ; then for bin in bin/*.bash ; do set -- "$@" "${bin%.bash}" done - shellcheck -e SC1090 -- "$@" || exit + shellcheck -e SC1090 -e SC1091 -- "$@" || exit fi diff --git a/lint/games.sh b/lint/games.sh index e9690d8d..aa680035 100644 --- a/lint/games.sh +++ b/lint/games.sh @@ -3,4 +3,4 @@ set -- for game in games/*.sh ; do set -- "$@" "${game%.sh}" done -shellcheck -e SC1090 -- "$@" || exit +shellcheck -e SC1090 -e SC1091 -- "$@" || exit diff --git a/lint/git-template-hooks.sh b/lint/git-template-hooks.sh index 74f20fc6..a0f7ef1a 100644 --- a/lint/git-template-hooks.sh +++ b/lint/git-template-hooks.sh @@ -2,4 +2,4 @@ set -- for bin in git/template/hooks/*.sh ; do set -- "$@" "${bin%.sh}" done -shellcheck -e SC1090 -- "$@" || exit +shellcheck -e SC1090 -e SC1091 -- "$@" || exit |