Open TabTabTab opened 7 years ago
Same problem happens in SASS's map definisions.
.stylelintrc
{
"rules": {
"color-hex-case": "upper",
}
}
source scss file
$colors: (
facebook: #3b5998,
twitter: #1da1f3
);
$color-variable: #ddd;
.example {
color: #fff;
}
result
$colors: (
facebook: #3b5998,
twitter: #1da1f3
);
$color-variable: #DDD;
.example {
color: #FFF;
}
The stylelint rule color-hex-case is not applied on the base level in mixins. version: 5.0.2
.stylelintrc:
scss before stylefmt:
scss after stylefmt: