An HTML reporter for ESLint that provides detailed output including total problem counts, tables of top warnings and errors, a list of files with the most issues, source code views with highlighted problems, and per-file summaries. Current version 0.9.0 supports ESLint 3.x to 8.x (peer dep: eslint >=3.0.0 <9). It features links to rule descriptions, keyboard accessibility, and optional multi-file output. Updated sporadically, last release in 2020.
npm install eslint-detailed-reporterVerified import paths — ran on the pinned version, not inferred.
Shows installation, CLI usage for single and multi-file output, and programmatic usage with Node.js.
Use an older version of ESLint (e.g., 8.x) or consider alternatives like eslint-formatter-html.
Stick with single-file mode for stability. If using multi-file, test thoroughly.
Use format: require('eslint-detailed-reporter') instead of format: 'eslint-detailed-reporter'.Use eslint.format(reporter, function(results) { fs.writeFileSync(...) });Run npm install eslint-detailed-reporter --save-dev and ensure you are using require('eslint-detailed-reporter') (CommonJS) or import from 'eslint-detailed-reporter' (ESM).For CommonJS: const reporter = require('eslint-detailed-reporter'); For ESM: import reporter from 'eslint-detailed-reporter'. In Grunt, use require('eslint-detailed-reporter') as the format value.In programmatic or config usage, pass the require'd function directly, not a string. For CLI, use -f node_modules/eslint-detailed-reporter/lib/detailed.js.