An enhanced ESLint formatter that outputs Checkstyle-compatible XML, primarily for use with the Jenkins Checkstyle Plugin. Version 0.2.0 is the latest stable release. It allows optional tweaking of file paths via environment variables (CHECKSTYLE_OLD_PROJECT_DIR and CHECKSTYLE_NEW_PROJECT_DIR) to produce relative paths instead of absolute paths in CI environments. Unlike ESLint's built-in checkstyle formatter, this one supports path manipulation for Jenkins integration. The package is unmaintained since 2015 and serves a niche use case.
npm install eslint-improved-checkstyle-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require the formatter and use it programmatically or via CLI with path manipulation environment variables.
Consider using ESLint's built-in checkstyle formatter or a maintained alternative like eslint-formatter-checkstyle.
Use require() or convert project to CommonJS for this package.
Call formatter(results) and it returns a string, no need to access .output or .results.
Use require('eslint-improved-checkstyle-formatter') instead of import.Use const formatter = require('eslint-improved-checkstyle-formatter'); then formatter(results);No dependency data recorded yet.