Pattern: Misaligned parameter of multi-line method
Issue: -
This rule checks if the parameters on a multi-line method call or definition are aligned.
# EnforcedStyle: with_first_parameter
# good
foo :bar,
:baz
# bad
foo :bar,
:baz
# EnforcedStyle: with_fixed_indentation
# good
foo :bar,
:baz
# bad
foo :bar,
:baz
Attribute | Value |
---|---|
EnforcedStyle | with_first_parameter |
SupportedStyles | with_first_parameter, with_fixed_indentation |
IndentationWidth |