Display output from xo
as a list of style errors, ordered by count.
This package is inspired from standard-summary.
$ npm install -g xo xo-summary
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.
...
- XO - JavaScript happiness style linter
MIT © LitoMore