From be2b62efe96811ecd5e3386a9cecfbbe2cc8a35d Mon Sep 17 00:00:00 2001 From: r-bennett Date: Wed, 5 Jan 2022 18:08:25 +0000 Subject: [PATCH] Use --strict to report yaml linting warnings (#2295) --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index b6a65fd2..dfdd735d 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -943,7 +943,7 @@ LINTER_COMMANDS_ARRAY['TYPESCRIPT_STANDARD']="standard --parser @typescript-esli LINTER_COMMANDS_ARRAY['TYPESCRIPT_PRETTIER']="prettier --check" LINTER_COMMANDS_ARRAY['UNICODE_CONTROL']="find_unicode_control2.py -c ${UNICODE_CONTROL_LINTER_RULES}" LINTER_COMMANDS_ARRAY['XML']="xmllint" -LINTER_COMMANDS_ARRAY['YAML']="yamllint -c ${YAML_LINTER_RULES} -f parsable" +LINTER_COMMANDS_ARRAY['YAML']="yamllint --strict -c ${YAML_LINTER_RULES} -f parsable" debug "--- Linter commands ---" debug "-----------------------"