xo-summary

1.0.1 • Public • Published

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

  • XO - JavaScript happiness style linter

License

MIT © LitoMore

Readme

Keywords

none

Package Sidebar

Install

npm i xo-summary

Weekly Downloads

22

Version

1.0.1

License

MIT

Unpacked Size

7.55 kB

Total Files

6

Last publish

Collaborators

  • litomore