Reputation: 799
I am running scss lint for my project and it reports something that I am not sure how to fix.
My scss
#test-id {
.table {
.test {
color: #fff;
}
}
}
Scss complains with
MergeableSelector: Merge rule `#test-id` with rule on line 7
I am not sure how to merge the selector in my case. Can anyone help me about it? Thanks!
Upvotes: 1
Views: 192
Reputation: 20235
Without knowing what's on line 7, I would guess it's telling you to do this:
#test-id .table .test {
color: #fff;
}
As there is no need for nesting in this case.
Upvotes: 1