Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 581 Bytes

no-dollar-variables.md

File metadata and controls

46 lines (32 loc) · 581 Bytes

Pattern: Use of $-variable

Issue: -

Description

Disallow dollar variables within a stylesheet.

    $a: 1;
/** ↑
 * These dollar variables */

Examples

true

The following patterns are considered violations:

$a: 1;
$a: 1;
$b: 2;
.b {
  $a: 1;
}

The following patterns are not considered violations:

a {
  color: blue;
}

Further Reading