only show errors for openapi linter (#2112)

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
Rohan Goel 2021-11-10 21:11:26 +05:30 committed by GitHub
parent ef05cca61a
commit 81ba7d8d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"