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

'Do not use semicolons to terminate expressions.' is not implemented correctly #155

Closed
jurriaan opened this issue May 11, 2013 · 2 comments

Comments

@jurriaan
Copy link
Contributor

The empty body class and method are registered as an offense. Which is not correct according to the ruby-style-guide.

# Prefer a single-line format for class definitions with no body.
class FooError < StandardError; end

# One exception to the rule are empty-body methods.
def no_op; end
@jonas054
Copy link
Collaborator

I'll take a look.

@jurriaan
Copy link
Contributor Author

👍

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

No branches or pull requests

3 participants