Sha256: 5f835553e374e7ff80f3852099d6abc151d9f9dd33df8afa2cba8b8ba37a28f3

Contents?: true

Size: 722 Bytes

Versions: 23

Compression:

Stored size: 722 Bytes

Contents

# at-rule-blacklist

Specify a blacklist of disallowed at-rules.

<!-- prettier-ignore -->
```css
    @keyframes name {}
/** ↑
 * At-rules like this */
```

## Options

`array|string`: `["array", "of", "unprefixed", "at-rules"]|"at-rule"`

Given:

```
["extend", "keyframes"]
```

The following patterns are considered violations:

<!-- prettier-ignore -->
```css
a { @extend placeholder; }
```

<!-- prettier-ignore -->
```css
@keyframes name {
  from { top: 10px; }
  to { top: 20px; }
}
```

<!-- prettier-ignore -->
```css
@-moz-keyframes name {
  from { top: 10px; }
  to { top: 20px; }
}
```

The following patterns are _not_ considered violations:

<!-- prettier-ignore -->
```css
@import "path/to/file.css";
```

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
trusty-cms-5.0.7 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.6 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.5 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.4 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.3 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.2 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.1 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3.5 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-5.0.0 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3.4 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3.3 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3.2 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3.1 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.3 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.2.3 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.2.2 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.2.1 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.2 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.1.9 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md
trusty-cms-4.1.8 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md