Last active
October 25, 2017 19:43
-
-
Save saveroo/2fca41041d98b189c6834c1659a8a106 to your computer and use it in GitHub Desktop.
Rubocop SH
This file contains 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
for cop in `rubocop --show-cops | egrep -o "^\w[^:]+" `; do if ! grep -q $cop ok_cops; then echo `rubocop --only $cop | grep $cop | wc -l` $cop >> bad_cops; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment