-
-
Notifications
You must be signed in to change notification settings - Fork 938
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
Ignore nested non-standard selectors in selector-max-specificity #2685
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also close #2677 with this PR?
@@ -12,6 +12,8 @@ Visit the [Specificity Calculator](https://specificity.keegan.st) for visual rep | |||
|
|||
This rule ignores selectors with variable interpolation (`#{$var}`, `@{var}`, `$(var)`). | |||
|
|||
This rule ignores all selectors, standard syntax or otherwise, nested within non-standard rule constructs e.g. `@each`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't understand this sentence :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pulled this out as I think the preceding statement is good enough:
This rule ignores selectors with variable interpolation (
#{$var}
,@{var}
,$(var)
).
I'm afraid not as we don't have a heuristic in |
|
Closes #2684