Skip to content
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 can't handle media-queries with functions #826

Closed
thasmo opened this issue Aug 16, 2016 · 1 comment
Closed

no-mergeable-selectors can't handle media-queries with functions #826

thasmo opened this issue Aug 16, 2016 · 1 comment
Labels

Comments

@thasmo
Copy link

thasmo commented Aug 16, 2016

When using a media-query with a function, like @media(min-width: break('large')) the no-mergeable-selectors rule has a false positive, because it's evaluating the rule to @media(min-width: null) for all break function calls and thus throws a warning for media-queries using different values in the break function.

This seems to be related to #703 which probably included a fix for variables but not for functions.

@DanPurdy DanPurdy added the bug label Aug 18, 2016
@DanPurdy
Copy link
Member

Thanks for the issue @thasmo I'll look into it soon

DanPurdy added a commit to DanPurdy/sass-lint that referenced this issue Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants