Skip to content

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

License

Notifications You must be signed in to change notification settings

LitoMore/xo-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published