Permalink
Browse files

Disallow transition property (use mixin instead)

  • Loading branch information...
MartijnCuppens authored and XhmikosR committed Oct 21, 2018
1 parent 09aca3f commit 00860f02d4b771ebb8f782743c0d45470f07d8b7
View
@@ -261,6 +261,7 @@
"fill",
"stroke"
],
"property-blacklist": ["transition"],
"property-no-vendor-prefix": true,
"rule-empty-line-before": null,
"scss/at-function-named-arguments": "never",
@@ -1,3 +1,4 @@
// stylelint-disable property-blacklist
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
@@ -1,7 +1,7 @@
.anchorjs-link {
font-weight: 400;
color: rgba($link-color, .5);
transition: color .16s linear;
@include transition(color .16s linear);
&:hover {
color: $link-color;
@@ -4,6 +4,7 @@
"at-rule-no-vendor-prefix": null,
"comment-empty-line-before": null,
"media-feature-name-no-vendor-prefix": null,
"property-blacklist": null,
"property-no-vendor-prefix": null,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": null,

0 comments on commit 00860f0

Please sign in to comment.