Adjust detection to ignore `:hover` within `:not()`
crstauf opened this issue ยท 3 comments
crstauf commented
Describe the bug
Using :hover
within a :not()
causes an error when there shouldn't be one.
To Reproduce
Steps to reproduce the behavior:
.button:not( :hover ) {}
- Run Stylelint
- See error
Expected behavior
No error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: macOS
- Browser: NA
- Version: 14.2
yuschick commented
Ohh, this is an awesome catch. I'll get this updated ASAP. Thanks for reporting ๐
yuschick commented
I just published version 1.0.1
which includes a fix for this false positive. Thanks again for reporting this ๐
crstauf commented
Confirmed: thanks for addressing so quickly! ๐ป