Created
February 14, 2017 23:27
-
-
Save padi/12ae2d68ee410f0b67efeaca63dc22b6 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 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 diff origin/master --name-only --diff-filter=ACMR | grep '.rb' | grep -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