Skip to content

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

License

Notifications You must be signed in to change notification settings

Kyr/eslint-formatter-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published