Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-stats

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-stats

A package of custom formatters that show aggregated stats of eslint errors

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34K
decreased by-4.05%
Maintainers
1
Weekly downloads
 
Created
Source

Coverage Status Build Status

#Statistic Reporter for ESLint. Analyses the files for error frequency, rather than location. This is helpful when introducing ESLint to an existing project.

screenshot

Install

npm install --save-dev eslint-stats

Getting Started

Use it with grunt:

...
  eslint: {
    options: {
      format: require('eslint-stats').byError,
      src: [...]
    },
...

or use it directly with ESLint:

$ eslint --format node_modules/eslint-stats/byError.js

Available Reporters:

byError

Shows the eslint report, aggragated by errors, without separation into specific files. Rules with warnings are not displayed

byWarning

Shows the eslint report, aggragated by warnings, without separation into specific files. Rules with errors are not displayed.

byErrorAndWarning

Shows the eslint report, aggragated by errors and warnings, without separation into specific files. Errors are red, and warnings are yellow.

byErrorAndWarningStacked

Shows the eslint report, aggragated by errors and warnings, without separation into specific files. Errors are red, and warnings are yellow. If any rule is an error in one file and a warning in another, results show up stacked.

byFolder

Shows the eslint report, aggragated by errors and warnings, separated into folders. Errors are red, and warnings are yellow.

FAQs

Package last updated on 31 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc