Skip to content

Commit

Permalink
Fix selector-pseudo-element-no-unknown false positives for `view-tr…
Browse files Browse the repository at this point in the history
…ansition` pseudo-elements (#7070)

Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
  • Loading branch information
danielroe and jeddy3 committed Jul 10, 2023
1 parent 64a3529 commit 6765374
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-geese-begin.md
@@ -0,0 +1,5 @@
---
"stylelint": patch
---

Fixed: `selector-pseudo-element-no-unknown` false positives for `view-transition` pseudo-elements
5 changes: 5 additions & 0 deletions lib/reference/selectors.js
Expand Up @@ -177,6 +177,11 @@ const pseudoElements = uniteSets(
'slotted',
'spelling-error',
'target-text',
'view-transition',
'view-transition-group',
'view-transition-image-pair',
'view-transition-new',
'view-transition-old',
],
);

Expand Down

0 comments on commit 6765374

Please sign in to comment.