Open
Description
vue-scoped-css/no-unused-selector
rule has ignoreBEMModifier
option
Besides BEM
, there are other ways to organize CSS code. For example RSCCS, where the modifier is defined as in the following code. More details here.
.like-button {
&.-wide { /* ... */ }
&.-short { /* ... */ }
&.-disabled { /* ... */ }
}
Also, development teams can use custom modifier naming. Сreator of the stylelint-selector-bem-pattern made it possible to specify a regular expression to define a modifier. Maybe you should pay attention to this.