-
-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive for pseudos and Less guard in selector-descendant-combinator-no-non-space #2110
Comments
:not()
and when
=> selector-descendant-combinator-no-non-space
false positiveselector-descendant-combinator-no-non-space
false positive
Concerns not only |
@thybzi Thanks for feedback, today i can see this. |
@thybzi can you provide full example, i can't find using |
selector-descendant-combinator-no-non-space
false positive
Hi @evilebottnawi! I have provided the example in the head of this issue: :hover when (@a = 42) {
color: red;
} Isn't this code enough to reproduce to failure? |
@thybzi I am on the weekends 😄 Tomorrow it'll 👍 |
Okay, waiting for this. Thank you! |
@thybzi sorry, very busy last month 😭 you can try to resolve himself if you need this immediately 😄 |
Done in #2557 |
Using CSS pseudo selector (
:hover
,:not()
,::after
etc.) and LESS guard (when
) in the same line leads toselector-descendant-combinator-no-non-space
false positive.selector-descendant-combinator-no-non-space
e.g.
e.g.
7.6.0
CLI with
stylelint test.less
Yes, it's related to LESS
when
syntax: http://lesscss.org/features/#css-guards-featureNo warnings to be flagged.
The following warnings were flagged:
test.less 1:12 × Unexpected " (@a = 42)" selector-descendant-combinator-no-non-space
The text was updated successfully, but these errors were encountered: