1.0.1 • Published 5 years ago
stylelint-plugin-block-opening-brace-empty-line-after v1.0.1
stylelint-plugin-block-opening-brace-empty-line-after
npm install --save-dev stylelint-plugin-block-opening-brace-empty-line-after
block-opening-brace-empty-line-before
Require or disallow an empty line after the opening brace of blocks.
/** This line
↓ */
a /* ↓ */
{ /* ↓ */
/* ← */
color: pink;
}
The --fix
option on the command line can automatically fix all of the problems reported by this rule.
Options
string
: "always-multi-line"|"never"
always-multi-line
The following patterns are considered violations:
a {
color: pink;
}
The following patterns are not considered violations:
a {
color: pink;
}
a { color: pink; }
never
The following patterns are considered violations:
a {
color: pink;
}
The following patterns are not considered violations:
a {
color: pink;
}
a { color: pink; }