Even though CSS syntax is case-insensitive (except for variables), sharing some style conventions is a key point to make it possible for a team to efficiently collaborate.

This rule allows to check that all properties, functions and variables are written in lowercase.

Noncompliant Code Example

.mybox {
  COLOR: blue; /* Noncompliant */
}

.mybox {
  color: RGB(255,255,255); /* Noncompliant */
}

:root {
  --MyVar: red; /* Noncompliant */;
}

Compliant Solution

.mybox {
  color: blue;
}

.mybox {
  color: rgb(255,255,255);
}

:root {
  --myvar: red;
}