Skip to content

Commit

Permalink
only show errors for openapi linter (super-linter#2112)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
  • Loading branch information
goelrohan6 and admiralAwkbar authored Nov 10, 2021
1 parent ef05cca commit 81ba7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 81ba7d8

Please sign in to comment.