npm packaged modules

    eslint-formatter-summary-chart

    0.2.1 • 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

    Keywords

    Install

    npm i eslint-formatter-summary-chart

    DownloadsWeekly Downloads

    2,419

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    4.99 kB

    Total Files

    7

    Last publish

    Collaborators

    • davidjbradshaw