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

New Cop Style/MultilineMethodDefinitionBraceLayout #2761

Merged

Conversation

panthomakos
Copy link
Contributor

Identical to Style/MultilineArrayBraceLayout and
Style/MultilineHashBraceLayout, except for method definitions.

Also corrected braces in the the documentation for
Style/MultilineHashBraceLayout.

@panthomakos panthomakos force-pushed the multiline-method-def-brace-layout branch from e2b8cb3 to fdfe8b4 Compare February 2, 2016 20:42
@@ -21,22 +21,22 @@ module Style
# # bad
# { a: 'a',
# b: 'b'
# ]
# }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected these while I was at it - happy to move to a separate PR as well.

Identical to `Style/MultilineArrayBraceLayout` and
`Style/MultilineHashBraceLayout`, except for method definitions.

Also corrected braces in the the documentation for
`Style/MultilineHashBraceLayout`.
@panthomakos panthomakos force-pushed the multiline-method-def-brace-layout branch from fdfe8b4 to 18cba56 Compare February 2, 2016 21:01
bbatsov added a commit that referenced this pull request Feb 3, 2016
…layout

New Cop Style/MultilineMethodDefinitionBraceLayout
@bbatsov bbatsov merged commit bf60ef8 into rubocop:master Feb 3, 2016
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.

2 participants