Skip to content

Files

Latest commit

 

History

History
89 lines (66 loc) · 757 Bytes

selector-max-empty-lines.md

File metadata and controls

89 lines (66 loc) · 757 Bytes

Pattern: Too many empty lines in selector

Issue: -

Description

Limit the number of adjacent empty lines within selectors.

Examples

int: Maximum number of empty lines.

For example, with 0:

The following patterns are considered violations:

a

b {
  color: red;
}
a,

b {
  color: red;
}
a

>
b {
  color: red;
}
a
>

b {
  color: red;
}

The following patterns are not considered violations:

a b {
  color: red;
}
a
b {
  color: red;
}
a,
b {
  color: red;
}
a > b {
  color: red;
}
a
>
b {
  color: red;
}

Further Reading