<commit_before># stylelint-performance-animation

[![Build Status][ci-img]][ci]

Stylelint rule for preventing the use of low performance animation.

## Install

```sh
npm install stylelint-performance-animation --save-dev
```

## Usage

Add this config to your `.stylelintrc`:

```json
{
  "plugins": [
    "stylelint-performance-animation"
  ],
  "rules": {
    "plugin/no-low-performance-animation": true
  }
}
```

## Details

```css
div { transition: margin-left 350ms easy }
/**               ^^^^^^^^^^^
 * You should not use low performance animation properties */
```

For more information [read article](https://www.html5rocks.com/en/tutorials/speed/high-performance-animations/) By <NAME> and <NAME>

### Options

#### `true`

The following pattern is considered warning:

```css
div { transition: margin-left 350ms easy; }
```

The following pattern is *not* considered warning:

```css
div { transition: transform 350ms easy; }
```

---

## License

MIT © [<NAME>](https://github.com/konstantin24121)

[ci]: https://travis-ci.org/konstantin24121/stylelint-performance-animation
[ci-img]: https://travis-ci.org/konstantin24121/stylelint-performance-animation.svg?branch=master<commit_msg>Change readme<commit_after># stylelint-performance-animation

[![Build Status][ci-img]][ci]

Stylelint rule for preventing the use of low performance animation.

## Install

```sh
npm install stylelint-performance-animation --save-dev
```

## Usage

Add this config to your `.stylelintrc`:

```json
{
  "plugins": [
    "stylelint-performance-animation"
  ],
  "rules": {
    "plugin/no-low-performance-animation": true
  }
}
```

## Details

```css
div { transition: margin 350ms easy }
/**               ^^^^^^
 * You should not use low performance animation properties */
```

For more information [read article](https://www.html5rocks.com/en/tutorials/speed/high-performance-animations/) By <NAME> and <NAME>

### Options

#### `true`

The following pattern is considered warning:

```css
div { transition: margin-left 350ms easy; }
```

The following pattern is *not* considered warning:

```css
div { transition: transform 350ms easy; }
```

---

## License

MIT © [<NAME>](https://github.com/konstantin24121)

[ci]: https://travis-ci.org/konstantin24121/stylelint-performance-animation
[ci-img]: https://travis-ci.org/konstantin24121/stylelint-performance-animation.svg?branch=master
{'fraction_non_alphanumeric': 0.1598326359832636, 'fraction_numerical': 0.02092050209205021, 'mean_word_length': 4.2781456953642385, 'pattern_counts': {'":': 6, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4681277', 'n_tokens_mistral': 824, 'n_tokens_neox': 744, 'n_words': 184}