Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidjbradshaw/eslint-formatter-summary-chart
A ESLint formatter to summarise errors by rules and files using bar charts
https://github.com/davidjbradshaw/eslint-formatter-summary-chart
Last synced: 17 days ago
JSON representation
A ESLint formatter to summarise errors by rules and files using bar charts
- Host: GitHub
- URL: https://github.com/davidjbradshaw/eslint-formatter-summary-chart
- Owner: davidjbradshaw
- License: mit
- Created: 2020-07-14T12:47:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T09:43:24.000Z (5 months ago)
- Last Synced: 2024-10-04T13:04:05.485Z (about 1 month ago)
- Language: JavaScript
- Size: 228 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-eslint - summary-chart - Format ESLint output into a bar chart. (Formatters / Testing Tools)
README
# eslint-formatter-summary-chart
An esLint formatter to summarize errors by rules and files using bar charts.
## Install
```sh
npm install eslint-formatter-summary-chart --save-dev
```## Usage
```sh
% 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](https://www.npmjs.com/package/eslint-summary-chart-formatter) extended to sort the rules alphabetically and renamed for easier integration with eslint._
----
License: MIT