Skip to content

Files

Latest commit

 

History

History
33 lines (23 loc) · 491 Bytes

Layout-IndentAssignment.md

File metadata and controls

33 lines (23 loc) · 491 Bytes

Pattern: Missing indentation for multi-line assignment

Issue: -

Description

This rule checks the indentation of the first line of the right-hand-side of a multi-line assignment.

Examples

# bad
value =
if foo
  'bar'
end

# good
value =
  if foo
    'bar'
  end

Default configuration

Attribute Value
IndentationWidth

Further Reading