JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 88330
  • Score
    100M100P100Q160810F
  • License MIT

ESLint’s official `junit` formatter, unofficially published as a standalone module

Package Exports

  • eslint-formatter-junit
  • eslint-formatter-junit/index.js

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 (eslint-formatter-junit) 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-junit

ESLint's junit formatter as a standalone package

Demo

<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite package="org.eslint" time="0" tests="1" errors="1" name="foo.js">
<testcase time="0" name="org.eslint.foo" classname="foo"><failure message="Unexpected foo."><![CDATA[line 5, col 10, Error - Unexpected foo. (foo)]]></failure></testcase>
</testsuite>
<testsuite package="org.eslint" time="0" tests="1" errors="1" name="bar.js">
<testcase time="0" name="org.eslint.bar" classname="bar"><failure message="Unexpected bar."><![CDATA[line 6, col 11, Warning - Unexpected bar. (bar)]]></failure></testcase>
</testsuite>
<testsuite package="org.eslint" time="0" tests="1" errors="1" name="baz.js">
<testcase time="0" name="org.eslint.unknown" classname="baz"><error message="Fatal error parsing file."><![CDATA[line 1, col 1, Error - Fatal error parsing file.]]></error></testcase>
</testsuite>
</testsuites>