juanca / stylelint-css-modules

Stylelint ruleset for CSS modules
10 stars 1 forks source link

Do not fail when css variable has a (defined) fallback #16

Closed juanca closed 4 years ago

juanca commented 4 years ago

Example:

/* Good */
.foo {
  padding: calc(var(--num, 1) * 35px);
}

/* Bad */
.foo {
  padding: calc(var(--num) * 35px);
}