You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Style/Multiline*BraceLayout` cops now support two configuration
styles. The `symmetrical` option is the default in which the closing
brace mirrors the open brace. The `new_line` option forces the closing
brace to always be on a new line.
* I have clarified the descriptions and comments for all of the cops.
* I have moved the common specs into a shared example that constructs
the source code for each test using some simple input: the opening
brace, closing brace, and literal elements.
The `Style/Multiline*BraceLayout` cops now support two configuration
styles. The `symmetrical` option is the default in which the closing
brace mirrors the open brace. The `new_line` option forces the closing
brace to always be on a new line.
* I have clarified the descriptions and comments for all of the cops.
* I have moved the common specs into a shared example that constructs
the source code for each test using some simple input: the opening
brace, closing brace, and literal elements.
With this config
I'd like to have our closing
)
or}
or]
always on a newline, but still allow the initial arg to be on the same line.Alternatively an equivilent rule to
Style/First*LineBreak
but for the closing things would work./cc @panthomakos
The text was updated successfully, but these errors were encountered: