eslint-formatter-summary-chart

0.3.0 • Public • Published

eslint-formatter-summary-chart

A ESLint formatter to summarize errors by rules and files using bar charts

Install

npm install eslint-formatter-summary-chart --save-dev

Usage

% eslint --format summary-chart src

==== Files ====
bar.js : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  33.33%
foo.js : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  66.67%


==== Rules ====
constructor-super     : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  16.67%
no-cond-assign        : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  16.67%
no-constant-condition : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  16.67%
no-debugger           : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  16.67%
no-unused-vars        : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  33.33%

This is package is based on eslint-summary-chart-formatter extended to sort the rules alphabetically and renamed for easier integration with eslint.


License: MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    3,172
    • latest

Version History

Package Sidebar

Install

npm i eslint-formatter-summary-chart

Weekly Downloads

4,468

Version

0.3.0

License

MIT

Unpacked Size

6.43 kB

Total Files

6

Last publish

Collaborators

  • davidjbradshaw