Socket
Book a DemoInstallSign in
Socket

standard-summary

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard-summary

Display output from `standard` as a list of errors, ordered by count

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

standard-summary

This CLI module displays output from standard as a list of style errors, ordered by count.

For alternative formats, see standard-tap, standard-json, and standard-reporter.

Installation

Install standard and standard-summary globally with npm:

npm install standard standard-summary --global

Usage

cd into your favorite javascript project, then pipe the output of standard into standard-summary:

$ cd my/project
$ standard | standard-summary

5966   Extra semicolon
1615   Missing space before function parentheses
318    Strings must use singlequote
55     Return statement should not contain assignment
38     Expected { after 'if' condition
24     Expected '===' and instead saw '=='
23     Missing '()' invoking a constructor
17     Block must not be padded by blank lines
16     Unexpected trailing comma
13     Multiple spaces found before '+='
12     The '__proto__' property is deprecated
10     Expected space(s) after "catch"
...

Tests

npm install
npm test

Dependencies

  • concat-stream: writable stream that concatenates strings or binary data and calls a callback with the result
  • pad: Left and right string padding

Dev Dependencies

None

License

MIT

Generated by package-json-to-readme

Keywords

standard

FAQs

Package last updated on 29 Mar 2016

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