This PR adds the ability to run a summary on all javascript files from the project and display the number of warnings either grouped by filename or by warning (type).
I've also included a summary per file where you can see the number of warnings you have on a certain JS/JSX.
This PR adds the ability to run a summary on all javascript files from the project and display the number of warnings either grouped by
filename
or bywarning
(type).I've also included a summary per file where you can see the number of warnings you have on a certain JS/JSX.
It's a very similar output to what Rubocop does with the
offenses
formatter (http://rubocop.readthedocs.io/en/latest/formatters/#offense-count-formatter).I think it's a good way of having a glimpse on what to focus on first, when getting your hands on a bigger project.
Here are a few sample outputs of the commands:
Full summary examples (by
filename
andwarning
)File summary (by default for
application.js
)