Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check selector list for parent selectors in at-root-no-redundant #886

Merged

Conversation

pamelalozano16
Copy link
Contributor

Fix false positive of redundant @at-root in selector list.
This example is identified as redundant, even though @at-root is useful for the second selector .a#{&}b .

@at-root .c &,
  .a#{&}b {
     color: black;
}

Here's a SCSS demo with examples.

@pamelalozano16 pamelalozano16 marked this pull request as draft November 16, 2023 22:36
@pamelalozano16 pamelalozano16 marked this pull request as ready for review November 19, 2023 20:00
@kristerkari
Copy link
Collaborator

Thanks!

@kristerkari kristerkari merged commit ee96bef into stylelint-scss:master Nov 27, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants