Standalone npm package for ESLint's official JUnit XML formatter. Version 9.0.1 targets Node ^18.18.0 || ^20.9.0 || >=21.1.0 and ships TypeScript types. Released alongside ESLint releases, it extracts the built-in JUnit formatter into a separate module for use in CI/CD pipelines (e.g., Jenkins). No external dependencies. Different from similar packages by being directly sourced from ESLint's official source.
npm install eslint-formatter-junitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Runs ESLint on JS files and outputs JUnit XML report using the official formatter.
Upgrade Node to ^18.18.0 || ^20.9.0 || >=21.1.0
Use default import: import f from 'eslint-formatter-junit'
Pass same results array twice: junitFormatter(results, results)
Pass result objects from eslint.lintFiles() or CLIEngine.getResults()
Use const junitFormatter = require('eslint-formatter-junit').defaultUse import() dynamic import or set type:"module" in package.json
Set NODE_OPTIONS=--openssl-legacy-provider or downgrade to Node 16
No dependency data recorded yet.