ESLint Formatter Summary Chart
raw JSON → 0.3.0 verified Sat Apr 25 auth: no javascript
An ESLint formatter that summarizes linting errors by rule and file using horizontal bar charts, providing a visual overview of error distribution. Version 0.3.0 is the current stable release with no recent updates. Key differentiators: it extends the original eslint-summary-chart-formatter by sorting rules alphabetically and renaming for easier integration with ESLint's --format option. Compared to other formatters like eslint-formatter-friendly or stylish, it focuses on aggregation rather than line-level details, making it ideal for CI or summary reports.
Common errors
error Error: Cannot find module 'eslint-formatter-summary-chart' ↓
cause Required formatter is not installed
fix
npm install eslint-formatter-summary-chart --save-dev
Warnings
gotcha The formatter is not installed as a regular module; use --format with the package name only, not a path. ↓
fix Run: eslint --format summary-chart [files]
Install
npm install eslint-formatter-summary-chart yarn add eslint-formatter-summary-chart pnpm add eslint-formatter-summary-chart Quickstart
// No API import needed; use via command line:
// eslint --format summary-chart src/
// Or in .eslintrc:
// {
// "formatter": "summary-chart"
// }