Registry / testing / eslint-summary-chart-formatter

eslint-summary-chart-formatter

JSON →
library0.1.0jsnpmunverified

An ESLint custom formatter that summarizes lint errors into bar charts grouped by rule and file. Version 0.1.0 is the latest stable release. It is a lightweight, zero-dependency tool that provides an at-a-glance visual summary, ideal for CI output or team dashboards. Unlike other formatters (e.g., stylish, tap), it uses unicode bar charts to show proportional error distribution. The package is rarely updated and considered stable.

npm install eslint-summary-chart-formatter
INSTALL
IMPORT
SIG · ESLINT-SUMMARY-CHA
E
eslint-summary-chart-formatter
testingjavascriptv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
✓ module.exports = require('eslint-summary-chart-formatter')
✗ import formatter from 'eslint-summary-chart-formatter'
ESLint expects CommonJS module.exports for formatters; ESM import will fail.

Running ESLint with the summary-chart formatter to display a bar chart of errors by file and rule.

// Make sure eslint is installed // Run ESLint with the formatter: eslint --format ./node_modules/eslint-summary-chart-formatter src/
Debug
Known issues
gotchaThe formatter must be referenced via a file path, not the package name.
fix
Use --format ./node_modules/eslint-summary-chart-formatter or --format ./path/to/node_modules/eslint-summary-chart-formatter
affects: all
gotchaOnly works with ESLint < 9.x. ESLint 9 changed formatter API and removed --format support for custom paths.
fix
Use with ESLint 8.x or configure programmatically.
affects: >=0.1.0
gotchaOutput uses unicode block characters; some terminals may not render bar charts correctly.
fix
Ensure terminal supports UTF-8 and unicode characters.
affects: all
Errors
Common errors & fixes
ESLint couldn't find the formatter "eslint-summary-chart-formatter".
Using package name directly instead of file path.
fix
Use --format ./node_modules/eslint-summary-chart-formatter
Cannot find module 'eslint-summary-chart-formatter'
Module not installed or path incorrect.
fix
Run npm install --save-dev eslint-summary-chart-formatter and verify the path.
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
7
Resources
eslint-summary-chart-formatter — npm install eslint-summary-chart-formatter · libregistry