-
Notifications
You must be signed in to change notification settings - Fork 528
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
no-mergeable-selectors not working properly with nth-child(even) nth-child(odd) #834
Comments
We also have this issue in 1.9.0 with the nth-child selectors, but it doesn't end there.
I don't see a specific test case being added for the not selector in the related pull request, will this also be fixed by your changes @DanPurdy ? |
@Nickman87 I'll check, it should be as it was just a case of missing a node type check. |
@Nickman87 I added your tests to the PR i can confirm the fix did fix this too and you should see it arrive in the next release which will hopefully be a patch release very soon |
awesome! thanks |
What version of Sass Lint are you using?
Older (working) version:
Newer (buggy) version:
Please include any relevant parts of your configuration
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
I expected no issues, since those two rules aren't mergeable!
What actually happened? Please include any error messages given to you by Sass Lint.
If you're using a IDE plugin have you tried the CLI too?
The former version (1.8.2) didn't have that bug. After an
npm update
, it was updated to version 1.9.0, and this bug was reproduced (see "What version of Sass Lint are you using?" section).I have tested running the sass-lint with and without the gulp plugin, and the bug was reproduced on both situations.
The text was updated successfully, but these errors were encountered: