standard-gitlab
v1.0.1
Published
A custom formatter for StandardJS that generates Gitlab Code Quality compatible reports
Downloads
64
Maintainers
Readme
standard-gitlab
A formatter for StandardJS that outputs a GitLab Code Quality compatible report.
Install
Using npm:
npm install --save-dev standard-gitlab
Usage
CLI
standard | standard-gitlab
.gitlab-ci.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
Options
-o, --output <file>
Write the report to a file instead of stdout
.
--human-readable
Output a human readable report to stdout
instead of a JSON report. So you can use it in a pipeline.