Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 996 Bytes

File metadata and controls

52 lines (35 loc) · 996 Bytes

at-rule-semicolon-space-before

Warning This rule is deprecated and will be removed in the future.

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 problem:

@import "components/buttons";

The following pattern is not considered a problem:

@import "components/buttons" ;

"never"

There must never be a single space before the semicolons.

The following pattern is considered a problem:

@import "components/buttons" ;

The following pattern is not considered a problem:

@import "components/buttons";