Created
February 14, 2017 23:27
-
-
Save padi/270548ca5927d5cc9c9c4f2ee7f87092 to your computer and use it in GitHub Desktop.
Check rubocop against file changes in your feature-branch (compared to origin/master)
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
git diff origin/master --name-only --diff-filter=ACMR | grep '.rb' | ag -v 'schema' | xargs rubocop -c .rubocop.yml --force-exclusion --display-cop-names |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment