Shared coding conventions allow teams to collaborate efficiently. This rule checks that all placeholder selector names match a provided regular expression.

Noncompliant Code Example

With format ^[a-z][-a-z0-9]*$:
#context a%EXTREME { /* Noncompliant: Should be 'extreme' instead for example */
  color: green;
}

#context a%EX_TREME { /* Noncompliant: Should be 'ex-treme' instead for example */
  color: green;
}

Compliant Solution

With format ^[a-z][-a-z0-9]*$:
#context a%extreme {
  color: green;
}

#context a%ex-treme {
  color: green;
}