Skip to main content

at-rule-semicolon-space-before

Require a single space or disallow whitespace before the semicolons of at-rules.

@import "components/buttons";
/** โ†‘
* The space before this semicolon */

Options#

string: "always"|"never"

"always"#

There must always be a single space before the semicolons.

The following pattern is considered a violation:

@import "components/buttons";

The following pattern is not considered a violation:

@import "components/buttons" ;

"never"#

There must never be a single space before the semicolons.

The following pattern is considered a violation:

@import "components/buttons" ;

The following pattern is not considered a violation:

@import "components/buttons";