Shared coding conventions allow teams to collaborate efficiently. This rule checks that all SCSS variable names match a provided regular expression.
^[a-z][-a-z0-9]*$:
$myColor: green; /* Noncompliant */ $my_color: green; /* Noncompliant */
^[a-z][-a-z0-9]*$:
$my-color: green;