Last active
February 13, 2018 07:40
-
-
Save itochan/7e7e43b544a956f87ad7e61f6276dc86 to your computer and use it in GitHub Desktop.
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 |& grep ' has the wrong namespace - should be ' | \ | |
sed 's/\(.*\)\: \(.*\)\/\(.*\) has the wrong namespace - should be \(.*\)/s#\2\/\3#\4\/\3# \1/' | \ | |
xargs -L1 sed -i '' -e | |
rubocop |& grep ' cop has been \(renamed \(and moved \)\?to \|removed. Please use \)' | \ | |
sed 's/The `\(.*\)\` .* `\(.*\)`\( instead\)\{0,1\}\./s#\1#\2#/' | \ | |
xargs -I {} -L1 sed -i '' -e {} .rubocop.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment