issues
search
yuschick
/
stylelint-plugin-defensive-css
A Stylelint plugin for enforcing defensive CSS best practices.
https://defensivecss.dev/
MIT License
139
stars
4
forks
source link
Fix Accidental Hover False Positive Within :not() Selectors
#31
Closed
yuschick
closed
10 months ago
yuschick
commented
10 months ago
📒 Description
checks for
:hover
selectors inside of
:not()
selectors to prevent the accidental hover rule from reporting
🚀 Changes
adds regexp check for
:not(:hover)
selectors
adds tests for different
:not()
situations
increments version to 1.0.1
🔐 Closes
30
⛳️ Testing
ran
npm run test
to ensure all tests pass
📒 Description
:hover
selectors inside of:not()
selectors to prevent the accidental hover rule from reporting🚀 Changes
:not(:hover)
selectors:not()
situations🔐 Closes
30
⛳️ Testing
npm run test
to ensure all tests pass