Created
August 2, 2019 07:43
-
-
Save leemour/0ef5662a523a390b8d96a45d295e212b to your computer and use it in GitHub Desktop.
Rubocop run on only changed files
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 --staged --name-only | xargs rubocop -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment