Skip to content

Instantly share code, notes, and snippets.

@saveroo
Last active October 25, 2017 19:43
Show Gist options
  • Save saveroo/2fca41041d98b189c6834c1659a8a106 to your computer and use it in GitHub Desktop.
Save saveroo/2fca41041d98b189c6834c1659a8a106 to your computer and use it in GitHub Desktop.
Rubocop SH
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