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

Showing warning on Sass maths calculations in scss files #9

Open
jitendravyas opened this issue Jun 8, 2017 · 4 comments
Open

Showing warning on Sass maths calculations in scss files #9

jitendravyas opened this issue Jun 8, 2017 · 4 comments

Comments

@jitendravyas
Copy link

Showing error for

margin-top: (-2.4em - 0.2em);
width: 1 * 1em;
height: 4 * 1.2em;
@illycz
Copy link

illycz commented Jun 13, 2018

Any progress? Thanks

@lahmatiy
Copy link
Member

CSSTree has no focus on syntaxes other than CSS at the moment. At the same time, recent updates in syntax matching bring us closer to making it possible to implement features like this. However, we need some steps further to make it completely possible.

@jkevingutierrez
Copy link

This is still happening (Version 1.8.0)

@vr1e
Copy link

vr1e commented Nov 4, 2020

Showing error for

margin-top: (-2.4em - 0.2em);
width: 1 * 1em;
height: 4 * 1.2em;

Does anyone have any better idea than creating a regex to cover cases like these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants