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.

error Error: Cannot find module 'eslint-formatter-summary-chart'
cause Required formatter is not installed
fix
npm install eslint-formatter-summary-chart --save-dev
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]
npm install eslint-formatter-summary-chart
yarn add eslint-formatter-summary-chart
pnpm add eslint-formatter-summary-chart

Shows command line usage to run ESLint with this formatter.

// No API import needed; use via command line:
// eslint --format summary-chart src/
// Or in .eslintrc:
// {
//   "formatter": "summary-chart"
// }