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

alert on raise Exception usage #7299

Closed
grosser opened this issue Aug 20, 2019 · 2 comments · Fixed by #7325
Closed

alert on raise Exception usage #7299

grosser opened this issue Aug 20, 2019 · 2 comments · Fixed by #7325
Labels
feature request good first issue Easy task, suitable for newcomers to the project

Comments

@grosser
Copy link
Contributor

grosser commented Aug 20, 2019

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

@bbatsov
Copy link
Collaborator

bbatsov commented Aug 21, 2019

Great idea!

@bbatsov bbatsov added the good first issue Easy task, suitable for newcomers to the project label Aug 21, 2019
@Drenmi
Copy link
Collaborator

Drenmi commented Aug 25, 2019

It's funny we didn't think of this. 😂

denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 1, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 5, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 18, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Sep 18, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Oct 28, 2019
denys281 added a commit to denys281/rubocop that referenced this issue Oct 28, 2019
bbatsov added a commit that referenced this issue Mar 21, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
ty-porter pushed a commit to ty-porter/rubocop that referenced this issue Mar 21, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
Neodelf pushed a commit to Neodelf/rubocop that referenced this issue Apr 28, 2020
Co-authored-by: Bozhidar Batsov <bozhidar@batsov.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request good first issue Easy task, suitable for newcomers to the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants