Skip to content

Files

47 lines (30 loc) · 842 Bytes

File metadata and controls

47 lines (30 loc) · 842 Bytes

at-rule-semicolon-space-before

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

@import "components/buttons";
/**                         ↑
 * The space before this semicolon */

This rule ignores @import in Less.

Options

string: "always"|"never"

"always"

There must always be a single space before the semicolons.

The following patterns 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 patterns is considered a violation:

@import "components/buttons" ;

The following pattern is not considered a violation:

@import "components/buttons";