accidental-hover issue
pink-eye opened this issue · 2 comments
pink-eye commented
Describe the bug
When I define accidental-hover
in rules
I get error. When I remove it everything is fine.
Expected behavior
No output errors.
Screenshots
error with accidental-hover: true
output without accidental-hover: true
Additional context
I use stylelint
with styled-components
, stylelint-config-idiomatic-order
.stylelintrc
{
"extends": "stylelint-config-idiomatic-order",
"customSyntax": "postcss-styled-syntax",
"plugins": ["stylelint-plugin-defensive-css"],
"rules": {
"declaration-empty-line-before": [
"always",
{
"ignore": [
"after-comment",
"after-declaration",
"first-nested",
"inside-single-line-block"
]
}
],
"plugin/use-defensive-css": [
true,
{
"background-repeat": true,
"custom-property-fallbacks": false,
"flex-wrapping": true,
"vendor-prefix-grouping": false,
"accidental-hover": true,
"scroll-chaining": true
}
]
}
}
yuschick commented
Oh, interesting. I will look at this.
Could you share the CSS media queries you have that may be triggering this rule? I'm not able to get an error on my end yet, so having something that does error already would be really helpful.
pink-eye commented
It works good now
Thanks!