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 selector-pseudo-class-no-unknown
false negatives for non-standard :slotted
#6878
Comments
@Mouvedia Thanks for the report. To confirm, do you mean the If so, we could see the ::slotted(.foo) {} {
"rules": {
"selector-pseudo-element-no-unknown": true
}
} |
@ybiquitous Ill quote myself:
So no, I want an error for
|
@Mouvedia Thanks for the explanation, and sorry for my misunderstanding. 🙇🏼 I understand your motivation. You mean I've labeled the issue as ready to implement. Please consider contributing if you have time. There are steps on how to fix a bug in a rule in the Developer guide. |
selector-pseudo-class-no-unknown
selector-pseudo-class-no-unknown
false negative for non-standard :slotted
selector-pseudo-class-no-unknown
false negative for non-standard :slotted
selector-pseudo-class-no-unknown
false negatives for non-standard :slotted
What steps are needed to reproduce the bug?
What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
https://stylelint.io/demo/
What did you expect to happen?
Unexpected unknown pseudo-class selector ":slotted"
What actually happened?
no error
Proposal to fix the bug
Distinguish between the pseudo-class—which is vue specific—and the standard pseudo-element.
ref:
The text was updated successfully, but these errors were encountered: