From 81ba7d8d5694d2bd5743599adc220bf2268cc3ed Mon Sep 17 00:00:00 2001 From: Rohan Goel Date: Wed, 10 Nov 2021 21:11:26 +0530 Subject: [PATCH] only show errors for openapi linter (#2112) Co-authored-by: Lukas Gravley --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index 711381ae..1dc72e14 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -880,7 +880,7 @@ if [ -n "${MARKDOWN_CUSTOM_RULE_GLOBS}" ]; then done fi LINTER_COMMANDS_ARRAY['NATURAL_LANGUAGE']="textlint -c ${NATURAL_LANGUAGE_LINTER_RULES}" -LINTER_COMMANDS_ARRAY['OPENAPI']="spectral lint -r ${OPENAPI_LINTER_RULES}" +LINTER_COMMANDS_ARRAY['OPENAPI']="spectral lint -r ${OPENAPI_LINTER_RULES} -D" LINTER_COMMANDS_ARRAY['PERL']="perlcritic" LINTER_COMMANDS_ARRAY['PHP_BUILTIN']="php -l -c ${PHP_BUILTIN_LINTER_RULES}" LINTER_COMMANDS_ARRAY['PHP_PHPCS']="phpcs --standard=${PHP_PHPCS_LINTER_RULES}"