1.0.1 • Published 5 months ago

standard-gitlab v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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.

1.0.1

5 months ago

1.0.0

5 months ago