Variation of included in eslint junit formatter, especially for usage in CE Gitlab CI
npm install @kfed/eslint-formatter-gitlabeslint-formatter-junit, especially for usage in Gitlab CIbash
npm install --save-dev @kfed/eslint-formatter-gitlab
`Add to
.gitlab-ci.yml
`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
``Short report:
!image
Expanded report:
!image