Standalone package extracted from ESLint's built-in checkstyle formatter. Current stable version is 9.0.1, compatible with ESLint 9+. Released as an official standalone package to allow external use without depending on the full ESLint library. Supports Node.js ^18.18.0 || ^20.9.0 || >=21.1.0. Unlike alternative checkstyle formatters from the community, this one is maintained by the ESLint team and ships TypeScript types. Release cadence follows ESLint's major releases as the formatter is derived from ESLint's source.
npm install eslint-formatter-checkstyleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use the formatter with a sample ESLint results array.
Upgrade to ESLint 9 and Node.js >=20.9.0, or stick to version 8.x for older environments.
Use numeric severity values as per ESLint's LintResult type.
Use ESLint programmatic API or CLI to lint first, then pass the results to this formatter.
Use default import: import format from 'eslint-formatter-checkstyle'
Use const format = require('eslint-formatter-checkstyle').default; or check your require cache.Run npm install eslint-formatter-checkstyle --save-dev and ensure the version matches your Node.js and ESLint.