Skip to content

Files

Latest commit

 

History

History
24 lines (16 loc) · 388 Bytes

Layout-FirstHashElementLineBreak.md

File metadata and controls

24 lines (16 loc) · 388 Bytes

Pattern: Missing line break before first hash element

Issue: -

Description

This rule checks for a line break before the first element in a multi-line hash.

Examples

# bad
{ a: 1,
  b: 2}

# good
{
  a: 1,
  b: 2 }

Further Reading