Last active
February 12, 2022 18:31
-
-
Save kim-nguyenkhn/252a6134c53ef4dd97c8b7bf62e5f56e to your computer and use it in GitHub Desktop.
Rubocop git diff'ed 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
| # Rubocop git diff'ed files | |
| alias rubostaged="bin/rubocop -a `git diff --name-only --staged | grep '\.rb'`" | |
| alias rubodiff="bin/rubocop -a `git diff --name-only | grep '\.rb'`"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment