-
-
Save claudiofreitas/8718deb8b1f22a000ec38d1bbf911050 to your computer and use it in GitHub Desktop.
Count number infractions for each eslint rule in the project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn eslint --config .eslintrc.js . | grep ' error \| warn ' | rev | cut -f 1 -w | rev | sort | uniq -c | |
# output format: | |
# error Command failed with exit code 1. | |
# 229 arrow-body-style | |
# 23 consistent-return | |
# 869 import/extensions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment