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

Invalid syntax when assigning namespaced variables #1335

Open
rops opened this issue Jan 5, 2023 · 2 comments
Open

Invalid syntax when assigning namespaced variables #1335

rops opened this issue Jan 5, 2023 · 2 comments

Comments

@rops
Copy link

rops commented Jan 5, 2023

I'm trying to assign a namespaced variable to another var.

@use 'some/module` as m';

$foo: m.$bar;

This is building fine and behaving as expected, but sass-lint is triggering a parsing error.

error  Please check validity of the block starting from line #N  Fatal

Using sass-lint@1.31.1

@rops rops changed the title Invalid line with namespaced variables Invalid syntax when assigning namespaced variables Jan 5, 2023
@boubou158
Copy link

I am actually getting the same issue, any fix? thank you

@dominique-mueller
Copy link

dominique-mueller commented Nov 1, 2023

Duplicate of #1305, check the last comment for a workaround

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

No branches or pull requests

3 participants