mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-07 04:31:21 -06:00
606 B
606 B
declaration-block-single-line-max-declarations
Limit the number of declaration within a single line declaration block.
a { color: pink; top: 0; }
/** ↑ ↑
* The number of these declarations */
Options
int
: Maximum number of declarations allowed.
For example, with 1
:
The following patterns are considered warnings:
a { color: pink; top: 3px; }
a,
b { color: pink; top: 3px; }
The following patterns are not considered warnings:
a { color: pink; }
a,
b { color: pink; }
a {
color: pink;
top: 3px;
}