Skip to content

Files

Latest commit

 

History

History
35 lines (25 loc) · 583 Bytes

Layout-MultilineOperationIndentation.md

File metadata and controls

35 lines (25 loc) · 583 Bytes

Pattern: Malformed indentation of multi-line operation

Issue: -

Description

This rule checks the indentation of the right hand side operand in binary operations that span more than one line.

Examples

# bad
if a +
b
  something
end

# good
if a +
   b
  something
end

Default configuration

Attribute Value
EnforcedStyle aligned
SupportedStyles aligned, indented
IndentationWidth

Further Reading