canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.
22 lines (15 loc) • 389 B
Markdown
# No Transition All
Rule `no-transition-all` will enforce whether the keyword `all` can be used with the `transition` or `transition-property` property.
## Examples
When enabled the following are disallowed
```scss
.foo {
transition: all 2s;
}
.bar {
transition-property: all 2s;
}
.quz {
-webkit-transition: all 2s, height 2s, background-color 2s, -webkit-transform 2s;
}
```