.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / at-rule-semicolon-space-before / README.md
1 # at-rule-semicolon-space-before
2
3 Require a single space or disallow whitespace before the semicolons at-rules.
4
5 ```css
6 @import "components/buttons";
7 /**                         ↑
8  * The space before this semicolon */
9 ```
10
11 This rule ignores `@import` in Less.
12
13 ## Options
14
15 `string`: `"always"|"never"`
16
17 ### `"always"`
18
19 There *must always* be a single space before the semicolons.
20
21 The following patterns is considered a violation:
22
23 ```css
24 @import "components/buttons";
25 ```
26
27 The following pattern is *not* considered a violation:
28
29 ```css
30 @import "components/buttons" ;
31 ```
32
33 ### `"never"`
34
35 There *must never* be a single space before the semicolons.
36
37 The following patterns is considered a violation:
38
39 ```css
40 @import "components/buttons" ;
41 ```
42
43 The following pattern is *not* considered a violation:
44
45 ```css
46 @import "components/buttons";
47 ```