
rules.scsslint.BemDepth.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-scss Show documentation
Show all versions of sonar-web-frontend-scss Show documentation
Consume reports generated by scsslint for code quality. Also consume reports for code duplication (either simian or cpd). The information generated by reports are added in Sonar
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)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy