Home

Awesome

xo-summary

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

License

MIT © LitoMore