Sha256: 17ad09965cfd3aa45b98eed8cc35c04694aec7b7045a269616a013835efef1b0
Contents?: true
Size: 1.12 KB
Versions: 24
Compression:
Stored size: 1.12 KB
Contents
# selector-max-empty-lines Limit the number of adjacent empty lines within selectors. <!-- prettier-ignore --> ```css a, /* ← */ b { /* ↑ */ color: red; /* ↑ */ } /* ↑ */ /** ↑ * This empty line */ ``` The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options `int`: Maximum number of adjacent empty lines allowed. For example, with `0`: The following patterns are considered violations: <!-- prettier-ignore --> ```css a b { color: red; } ``` <!-- prettier-ignore --> ```css a, b { color: red; } ``` <!-- prettier-ignore --> ```css a > b { color: red; } ``` <!-- prettier-ignore --> ```css a > b { color: red; } ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css a b { color: red; } ``` <!-- prettier-ignore --> ```css a b { color: red; } ``` <!-- prettier-ignore --> ```css a, b { color: red; } ``` <!-- prettier-ignore --> ```css a > b { color: red; } ``` <!-- prettier-ignore --> ```css a > b { color: red; } ```
Version data entries
24 entries across 24 versions & 1 rubygems