Sha256: 7bd1c8730c9ae13ebc8fc80674bff6fa91a9b00f6aa7b07432fd34c4e8352455

Contents?: true

Size: 689 Bytes

Versions: 23

Compression:

Stored size: 689 Bytes

Contents

# keyframes-name-pattern

Specify a pattern for keyframe names.

<!-- prettier-ignore -->
```css
@keyframes slide-right {}
/**             ↑
 * The pattern of this */
```

## Options

`regex|string`

A string will be translated into a RegExp like so `new RegExp(yourString)` — so be sure to escape properly.

Given the string:

```js
"foo-.+";
```

The following patterns are considered violations:

<!-- prettier-ignore -->
```css
@keyframes foo {}
```

<!-- prettier-ignore -->
```css
@keyframes bar {}
```

<!-- prettier-ignore -->
```css
@keyframes FOO-bar {}
```

The following patterns are _not_ considered violations:

<!-- prettier-ignore -->
```css
@keyframes foo-bar {}
```

Version data entries

23 entries across 23 versions & 1 rubygems

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