A formatter for StandardJS that outputs a GitLab Code Quality compatible report.
Using npm:
npm install --save-dev standard-gitlab
standard | standard-gitlab
StandardJS - check code styling:
image: XXX
script:
- standard | standard-gitlab -o standardjs-report.json --human-readable
artifacts:
expire_in: 1 week
reports:
codequality: standardjs-report.json
Write the report to a file instead of stdout
.
Output a human readable report to stdout
instead of a JSON report. So you can use it in a pipeline.