Fix false positives for ::part in selector-pseudo-element-no-unknown #4589
Labels
good first issue
is good for newcomers
status: ready to implement
is ready to be worked on by someone
type: bug
a problem with a feature or rule
Using CSS Shadow Parts violates linter rules
selector-pseudo-element-no-unknown
for the::part
pseudo element andselector-type-no-unknown
for the argument to::part()
I would like to see the
selector-pseudo-element-no-unknown
rule updated to allow CSS Shadow Part selection.A plugin that scans
custom-elements.json
files for a all custom-elements imported by the project and validates the names of their Shadow Parts would be amazing, but is perhaps out of scope of this request.The text was updated successfully, but these errors were encountered: