You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's see if we can find or create a Stylelint rule which prevents things like this. The issue in this example being that you cannot do a project-wide search for .card__description.
.card {
&__description {
// some code
}
}
The text was updated successfully, but these errors were encountered:
#84 does half of the work here, but I think we may need to dig into some complex regex to achieve the ampersand request. I looked around but didn't find an existing Stylelint rule for it :(
andrewrubin
changed the title
Update linter to error on: nested selectors that goes deeper than 3 levels and nested ampersand selectors
Update linter to error on compound ampersand selectors
Sep 27, 2023
Let's see if we can find or create a Stylelint rule which prevents things like this. The issue in this example being that you cannot do a project-wide search for
.card__description
.The text was updated successfully, but these errors were encountered: