vendor-prefix-grouping also reports pseudo-elements in CSS
aakashgill opened this issue · 7 comments
Thanks for the screenshots. I will take a look at getting this fixed this week.
Testing this now, and a selector with multiple pseudo-elements passes as expected.
What line is throwing the initial error in the file you showed, line 237? I wonder if there may be an issue stemming from there, because I don't see any linting underlines in the pseudo-selector screen shot.
Look at line number 634 in the screenshot.
I tried again with ::before, ::after
It still gives an error.
Did you try combining two pseudo elements with a comma and with no space between the two?
I replicated the error in this sample repo https://github.com/aakashgill/stylelint-plugin-defensive-css/
I'm still getting the error in this. Still not sure what I'm doing wrong.
Thanks for the repo. It looks like the RegEx was matching -type-
. But I've got an update coming shortly.
Appreciate the help in catching this 👍