A custom formatter for StandardJS that generates Gitlab Code Quality compatible reports
npm install standard-gitlab> A formatter for StandardJS that outputs a GitLab Code Quality compatible report.
Using npm:
``bash`
npm install --save-dev standard-gitlab
`bash`
standard | standard-gitlab
`yaml`
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.