standard-gitlab

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i standard-gitlab

Weekly Downloads

27

Version

1.0.1

License

MIT

Unpacked Size

16.5 kB

Total Files

12

Last publish

Collaborators

  • tijsverkoyen