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.

testing
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.

ESLint expects CommonJS module.exports for formatters; ESM import will fail.

module.exports = require('eslint-summary-chart-formatter')

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 footguns
gotchaThe formatter must be referenced via a file path, not the package name.
gotchaOnly works with ESLint < 9.x. ESLint 9 changed formatter API and removed --format support for custom paths.
gotchaOutput uses unicode block characters; some terminals may not render bar charts correctly.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
8 hits · last 30 days
gptbot
3
ahrefsbot
2
bingbot
1
Resources