1.0.1 • Published 5 years ago

xo-summary v1.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

xo-summary

npm.io npm.io npm.io npm.io

Display output from xo as a list of style errors, ordered by count.

This package is inspired from standard-summary.

Install

$ npm install -g xo xo-summary

Usage

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

$ cd my/project
$ xo | xo-summary

188    Missing semicolon.
20     Expected indentation of 0 tabs but found 4 spaces.
15     Expected property shorthand.
15     Unexpected space before function parentheses.
11     Unexpected function expression.
9      Expected { after if condition.
5      Identifier time_ago is not in camel case.
4      Expected { after else.
...

Related

  • XO - JavaScript happiness style linter

License

MIT © LitoMore