1
0
Fork 0

Colorize linter output

This commit is contained in:
Patryk Obara 2019-11-16 01:31:37 +01:00 committed by Patryk Obara
parent 9a296eded9
commit 5b99e786f0
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
output-format=text
output-format=colorized
# Tells whether to display a full report or only the messages.
reports=no

View file

@ -19,7 +19,7 @@ main () {
shellcheck --version >&2
echo "Checking files:" >&2
list_bash_files >&2
list_bash_files | xargs -L 1000 shellcheck "$@"
list_bash_files | xargs -L 1000 shellcheck --color "$@"
}
main "$@"