-
-
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
fix: no-duplicate-selectors
false positives for SCSS/Less nested interpolations
#6118
fix: no-duplicate-selectors
false positives for SCSS/Less nested interpolations
#6118
Conversation
isStandardSyntaxSelector
after nested selector resolved
@ybiquitous Ready for review now. |
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.
@JounQin Thank you! This fix looks good to me 👍🏼
Also, what about refactoring normalize()
like this?
function normalize(selector) {
if (!isStandardSyntaxSelector(selector) return selector;
return selectorParser().processSync(selector, { lossless: false });
}
@ybiquitous Done. |
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.
Thank you. LGTM 👍🏼
no-duplicate-selectors
false positives for SCSS/Less nested interpolations
Changelog entry added:
|
Closes #6110#issuecomment-1137211409
No, it's self-explanatory.