.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / at-rule-blacklist / README.md
1 # at-rule-blacklist
2
3 Specify a blacklist of disallowed at-rules.
4
5 ```css
6     @keyframes name {}
7 /** ↑
8  * At-rules like this */
9 ```
10
11 This rule ignores `@import` in Less.
12
13 ## Options
14
15 `array|string`: `["array", "of", "unprefixed", "at-rules"]|"at-rule"`
16
17 Given:
18
19 ```js
20 ["extend", "keyframes"]
21 ```
22
23 The following patterns are considered violations:
24
25 ```css
26 a { @extend placeholder; }
27 ```
28
29 ```css
30 @keyframes name {
31   from { top: 10px; }
32   to { top: 20px; }
33 }
34 ```
35
36 ```css
37 @-moz-keyframes name {
38   from { top: 10px; }
39   to { top: 20px; }
40 }
41 ```
42
43 The following patterns are *not* considered violations:
44
45 ```css
46 @import "path/to/file.css";
47 ```