JSPM

@kfed/eslint-formatter-gitlab

2.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 862
  • Score
    100M100P100Q120058F
  • License ISC

Variation of included in eslint junit formatter, especially for usage in CE Gitlab CI

Package Exports

  • @kfed/eslint-formatter-gitlab

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kfed/eslint-formatter-gitlab) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-formatter-gitlab

Variation for eslint-formatter-junit, especially for usage in Gitlab CI

Usage

Install from npm, as same as other npm package:

npm install --save-dev @kfed/eslint-formatter-gitlab

Add to .gitlab-ci.yml

test:lint:
  stage: test
  script:
    - time npm install --prefer-offline --no-optional --silent
    - npm run lint --silent -- --no-color --quiet --format @kfed/gitlab --output-file ./lint.junit.xml
  artifacts:
    reports:
      junit: ./lint.junit.xml

Approaches

Very first

Approach for 1 version: minor imrove basic eslint junit reporter image

Second

Approach for second version: show report "per file" insetad "per issue"

Short report: image

Expanded report: image