Вот пример:
.something {
& > * {
&:not(:first-child) {
margin-right: 16px;
}
&:not(:last-child) {
margin-left: 16px;
}
}
&-element {
& > * { /* Expected selector ".something-element > *" to come before selector ".something > *:not(:first-child)" (no-descending-specificity) */
&:not(:first-child) {
margin-top: 16px;
}
&:not(:last-child) {
margin-bottom: 16px;
}
}
}
}
Мой stylelint.config.json:
module.exports = {
extends: ['stylelint-config-recommended-scss'],
};
Как я могу исправить ошибку stylelint?А может это ошибка?