Skip to content

A TSLint formatter that displays short overview of lint issues' scale in your project

License

Notifications You must be signed in to change notification settings

dprokop/tslint-totals-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSLint totals formatter

A TSLint formatters that displays short overview of lint problems' scale in your project.

Formatters

totals

tslint totals formatter

Shows issues overview grouped by rule. Includes information about the amount of autofixable issues and percentege of each issue type occurence.

issuesDistribution

tslint distribution formatter

Shows top 30 files with the highest number of lint issues. Includes information about the amount of autofixable issues and total impact of fixing/autofixing issues per file.

Installation

npm install tslint-totals-formatter

or

yarn add tslint-totals-formatter

Usage

From command line:

tslint -c tslint.json --project tsconfig.json -s node_modules/tslint-totals-formatter/formatters -t totals
tslint -c tslint.json --project tsconfig.json -s node_modules/tslint-totals-formatter/formatters -t issuesDistribution

From npm scripts:

{
  "lint:totals": "tslint -c tslint.json --project tsconfig.json -s node_modules/tslint-totals-formatter/formatters -t totals",
  "lint:distribution": "tslint -c tslint.json --project tsconfig.json -s node_modules/tslint-totals-formatter/formatters -t issuesDistribution",
}

About

A TSLint formatter that displays short overview of lint issues' scale in your project

Resources

License

Stars

Watchers

Forks

Packages

No packages published