UNPKG

805 BMarkdownView Raw
1# at-rule-semicolon-space-before
2
3Require a single space or disallow whitespace before the semicolons of at-rules.
4
5```css
6@import "components/buttons";
7/** ↑
8 * The space before this semicolon */
9```
10
11## Options
12
13`string`: `"always"|"never"`
14
15### `"always"`
16
17There *must always* be a single space before the semicolons.
18
19The following pattern is considered a violation:
20
21```css
22@import "components/buttons";
23```
24
25The following pattern is *not* considered a violation:
26
27```css
28@import "components/buttons" ;
29```
30
31### `"never"`
32
33There *must never* be a single space before the semicolons.
34
35The following pattern is considered a violation:
36
37```css
38@import "components/buttons" ;
39```
40
41The following pattern is *not* considered a violation:
42
43```css
44@import "components/buttons";
45```