diff --git a/.changeset/nasty-tomatoes-confess.md b/.changeset/nasty-tomatoes-confess.md new file mode 100644 index 0000000000..f3e6590657 --- /dev/null +++ b/.changeset/nasty-tomatoes-confess.md @@ -0,0 +1,5 @@ +--- +"stylelint": patch +--- + +Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element diff --git a/lib/reference/selectors.js b/lib/reference/selectors.js index bd3bdc742f..69ff5892ff 100644 --- a/lib/reference/selectors.js +++ b/lib/reference/selectors.js @@ -169,6 +169,7 @@ const pseudoElements = uniteSets( 'cue', 'file-selector-button', 'grammar-error', + 'highlight', 'marker', 'placeholder', 'selection',