Created
September 21, 2017 11:20
-
-
Save colszowka/4be15b3c3a287a9c62b6390f5b50c73f to your computer and use it in GitHub Desktop.
Rubocop Inline Disable Lint/RescueWithoutErrorClass Issue
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
--display-cop-names | |
--extra-details | |
--display-style-guide |
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
# ruboop:disable Lint/RescueWithoutErrorClass | |
begin | |
'do stuff' | |
rescue => err | |
puts err.to_s | |
raise err | |
end |
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
source 'https://rubygems.org' | |
gem 'rubocop' |
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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
ast (2.3.0) | |
parallel (1.12.0) | |
parser (2.4.0.0) | |
ast (~> 2.2) | |
powerpack (0.1.1) | |
rainbow (2.2.2) | |
rake | |
rake (12.1.0) | |
rubocop (0.50.0) | |
parallel (~> 1.10) | |
parser (>= 2.3.3.1, < 3.0) | |
powerpack (~> 0.1) | |
rainbow (>= 2.2.2, < 3.0) | |
ruby-progressbar (~> 1.7) | |
unicode-display_width (~> 1.0, >= 1.0.1) | |
ruby-progressbar (1.8.3) | |
unicode-display_width (1.3.0) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rubocop | |
BUNDLED WITH | |
1.15.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment