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

Add Lint/RaiseException rule #8

Merged
merged 1 commit into from Sep 14, 2020

Conversation

olleolleolle
Copy link
Contributor

Short story:

# bad
raise Exception, 'Error message here'
# good
raise StandardError, 'Error message here'

@henrik
Copy link
Member

henrik commented Sep 14, 2020

Sure! Think this one is uncontroversial but might catch mistakes. I assume raise "hi" is also "good" :)

@henrik henrik self-requested a review September 14, 2020 09:01
@olleolleolle olleolleolle merged commit 9f41d0d into master Sep 14, 2020
@olleolleolle olleolleolle deleted the olleolleolle-add-rule-lint-raise-exception branch September 14, 2020 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants