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

False positive for SpaceInsideHashLiteralBraces #271

Closed
dominikh opened this issue Jun 13, 2013 · 2 comments
Closed

False positive for SpaceInsideHashLiteralBraces #271

dominikh opened this issue Jun 13, 2013 · 2 comments

Comments

@dominikh
Copy link

SpaceInsideHashLiteralBraces with EnforcedStyleIsWithSpaces == false will complain for the following snippet:

a = {
  :a => 1,
  :b => 2,
}

Multi-line hash literals should be handled extra.

@bbatsov
Copy link
Collaborator

bbatsov commented Jun 13, 2013

@jonas054, this looks like a task for you :-)

@jonas054
Copy link
Collaborator

Yes, I agree that's a bug. I'll fix it.

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