rules.scsslint.BemDepth.html Maven / Gradle / Ivy
Details
Disabled by default
Reports when a BEM selector contains more elements than a configurable
maximum number.
Bad
.block__element__subelement {
...
}
Good
.block__element {
...
}
Configuration Option
Description
max_elements
Maximum number of elements allowed in a BEM selector (default 1)