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?
to your account
similar to the "do not rescue Exception" cop it would make sense to not allow raising Exception since that will bypass test frameworks and error reporters
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
It's funny we didn't think of this. 😂
[Fix rubocop#7299] Implement Lint/RaiseException cop
[Fix #7299] Implement Lint/RaiseException cop (#7325)
Co-authored-by: Bozhidar Batsov <email@example.com>
[Fix rubocop#7299] Implement Lint/RaiseException cop (rubocop#7325)
Successfully merging a pull request may close this issue.