Standalone ESLint formatter that outputs JSLint-compatible XML for integration with CI/CD pipelines or Jenkins. Current stable version is 9.0.1, maintained by Fregante. This package is part of a collection of standalone ESLint formatters, offering lightweight extraction without depending on ESLint's full packages. No release cadence specified; library is released alongside ESLint major versions. Differentiators: zero dependencies, ships TypeScript types, supports Node 18+. Works exclusively with ESLint >=9 (flat config only).
npm install eslint-formatter-jslint-xmlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates using the formatter with ESLint's flat config (ESLint >=9). Lints files and outputs JSLint XML.
Create eslint.config.js (or .mjs/.cjs) and ensure eslint >=9.
Use 'import eslintFormatterJslintXml from \'eslint-formatter-jslint-xml\'' in ESM context.
Ensure second argument is a string (file path) or undefined. For results from multiple files, pass the results array directly and don't pass a second argument for aggregated output.
Handle XML parsing carefully; expect optional attributes on <issue> for fatal errors.
Sanitize lint messages manually if needed. The issue is present in upstream ESLint as well.
Install package: npm install eslint-formatter-jslint-xml
Use: import eslintFormatterJslintXml from 'eslint-formatter-jslint-xml'
Upgrade to eslint@^9 and create eslint.config.js.
Use dynamic import: const eslintFormatterJslintXml = (await import('eslint-formatter-jslint-xml')).default; or switch to ESM.No dependency data recorded yet.