View all rules
S17 Incorrect BEM usage: no usage of BEM children
Please use __
for any div that is a child of a BEM component.
.c-button {
background: $c-button-bg;
padding: 1rem 0.8rem;
}
.c-button-content {
display: flex;
align-items: center;
justify-content: center;
}
.c-button {
background: $c-button-bg;
padding: 1rem 0.8rem;
}
.c-button__content {
display: flex;
align-items: center;
justify-content: center;
}