-
Notifications
You must be signed in to change notification settings - Fork 67
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
[SCSS]: fail to parse variable declaration when var name starts with $-- #296
Comments
Node-sass can compile variable name which starts with two hyphens but Sass-lint report fatal error. |
Thanks @xuzicn! I'll dig into this. |
Is there anything progress? |
@zhuowenli Not yet! But if you want to take creating a PR a try please feel free to. |
I forked and do a temporary fix on v4.2.3 but I cannot guarantee that it's the proper solution. https://github.com/xuzicn/gonzales-pe/tree/v4.2.3-var-name-with-double-hyphens You need to compile source code by yourself. |
@xuzicn Try send a PR with your fix. |
Version: 4.2.4
Node Version: 8.11.3
Source Code
$--bg-color: #fff;
Error Message:
Please check validity of the block starting from line [#1]
The text was updated successfully, but these errors were encountered: