Last active
December 1, 2017 14:03
-
-
Save kriskova/56985137e3a382355ed6804bddc93628 to your computer and use it in GitHub Desktop.
Run rubocop for all changed files in the git repository
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
git status --porcelain | cut -c4- | grep '.rb' | xargs rubocop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment