Skip to content

Files

Latest commit

 

History

History
28 lines (20 loc) · 394 Bytes

Layout-MultilineHashKeyLineBreaks.md

File metadata and controls

28 lines (20 loc) · 394 Bytes

Pattern: Missing line break for multi-line hash key

Issue: -

Description

Ensures that each key in a multi-line hash starts on a separate line.

Examples

# bad
{
  a: 1, b: 2,
  c: 3
}

# good
{
  a: 1,
  b: 2,
  c: 3
}

Further Reading