An ESLint formatter that outputs JUnit XML with relative file paths instead of absolute paths. Version 0.0.3 is the latest stable release, though the package appears unmaintained since 2017. It forks the built-in JUnit formatter to strip absolute paths, which is useful when sharing reports across environments with different root directories. Notably, it does not support ESLint's new flat config system and has no TypeScript definitions.
npm install eslint-formatter-relative-junitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to generate a JUnit XML report with relative paths using the formatter from the command line.
If you need async formatting, consider eslint-formatter-multiple or custom formatter.
Use ESLint <9 or convert to legacy config.
Consider using eslint-formatter-multiple or custom formatter for up-to-date support.
Run 'npm install --save-dev eslint-formatter-relative-junit'
Add a manual declaration or use '// @ts-ignore'