Makefile: Ignore SC2329
In previous versions of shellcheck, SC2317 was emitted for every line of a unused function and we're ignoring the SC2317 completely:6e61729e66/Makefile (L6)
We were ignoring this error due to `version_compare` being reported as a false positive. After4f81dbe839
this was fixed and now it produces one `SC2329` for the whole function instead of multiple SC2137. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Родитель
dd09dd20ef
Коммит
21b3f00cd9
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ VERSION?=
|
|||
CHANNEL?=
|
||||
|
||||
VOLUME_MOUNTS=-v "$(CURDIR)":/v
|
||||
SHELLCHECK_EXCLUSIONS=$(addprefix -e, SC1091 SC1117 SC2317)
|
||||
SHELLCHECK_EXCLUSIONS=$(addprefix -e, SC1091 SC1117 SC2317 SC2329)
|
||||
SHELLCHECK=docker run --rm $(VOLUME_MOUNTS) -w /v koalaman/shellcheck:stable $(SHELLCHECK_EXCLUSIONS)
|
||||
|
||||
ENVSUBST_VARS=LOAD_SCRIPT_COMMIT_SHA
|
||||
|
|
Загрузка…
Ссылка в новой задаче