Pattern: Duplicate $
-variable
Issue: -
Disallow duplicate dollar variables within a stylesheet.
$a: 1;
$a: 2;
/** ↑
* These are duplicates */
The following patterns are considered violations:
$a: 1;
$a: 2;
$a: 1;
$b: 2;
$a: 3;
$a: 1;
.b {
$a: 1;
}
The following patterns are not considered violations:
$a: 1;
$b: 2;
$a: 1;
.b {
$b: 2;
}