Last active
January 7, 2018 07:21
-
-
Save onk/7cd2f23ec5a7eca790150f8bae88dbc3 to your computer and use it in GitHub Desktop.
Layout/FirstParameterIndentation (RuboCop v0.52.1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EnforcedStyle: special_for_inner_method_call_in_parentheses (default) | |
# good | |
foo(bar( | |
:baz, | |
)) | |
# also good | |
foo bar( | |
:baz, | |
) | |
# bad | |
foo(bar( | |
:baz, | |
^^^^ Indent the first parameter one step more than bar(. | |
)) | |
# good??? (currently no offenses) | |
foo(bar( | |
# some comment | |
:baz, | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment