Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rubocop: disable Lint/RescueException #1211

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Nov 6, 2024

This cop tries to stop rescue Exception. This is generally a good idea in regular Ruby code, but we actually need this pretty often in the specs. Disable it to get it out of the way in this repo.

This is a reaction to #1210, where some extra offenses for this cop are introduced.

This cop tries to stop `rescue Exception`. This is generally a good idea in
regular Ruby code, but we actually need this pretty often in the specs. Disable
it to get it out of the way in this repo.
@eregon
Copy link
Member

eregon commented Nov 6, 2024

Fully agreed, thanks!

@eregon eregon merged commit eab1c59 into ruby:master Nov 6, 2024
14 checks passed
@eregon eregon mentioned this pull request Nov 6, 2024
@herwinw herwinw deleted the rubocop_disable_lint_rescueexception branch November 6, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants