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

error on space between operators #483

Closed
ebess opened this issue Jan 26, 2016 · 3 comments
Closed

error on space between operators #483

ebess opened this issue Jan 26, 2016 · 3 comments
Labels
Milestone

Comments

@ebess
Copy link

ebess commented Jan 26, 2016

The following code:

$foo: 15px;

.foo {
    margin-top: - ($foo * 2);
}

Produces the following error:
selection_062

@DanPurdy DanPurdy added the bug label Jan 26, 2016
@DanPurdy
Copy link
Member

This would result in invalid css anyway? I agree it shouldn't throw an error though.

@ebess
Copy link
Author

ebess commented Jan 26, 2016

I don't know exactly, but if so, then the space between operators check should ignore such cases:

$foo: 15px;

.foo {
    margin: -($foo * 2);
}
warning  Space expected around operator  space-around-operator

@DanPurdy
Copy link
Member

Ah, I see the real problem now! Thanks for the report 👍

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