You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 0.57.0 (from within PHPStorm, with custom lint config file)
With a max selector depth of 3, given the following (simplified code), a warning is thrown which seems in error:
nav {
li {
@each $highlight, $colors in $highlight-colors {
&.button-#{$highlight} {
// the a below triggers the warning
a {
color: map-get($colors, 'color');
}
}
}
}
}
Warning displayed:
"Selectors should have depth of applicability no greater than 3 but was 4 (SelectorDepth)"
transpiled CSS in this case results in (selector depth of 3):
nav li.button-color-fifteen a {.....}
The text was updated successfully, but these errors were encountered:
Using version 0.57.0 (from within PHPStorm, with custom lint config file)
With a max selector depth of 3, given the following (simplified code), a warning is thrown which seems in error:
Warning displayed:
transpiled CSS in this case results in (selector depth of 3):
nav li.button-color-fifteen a {.....}
The text was updated successfully, but these errors were encountered: