sasstools / sass-lint

Pure Node.js Sass linting
MIT License
1.77k stars 534 forks source link

Invalid syntax when assigning namespaced variables #1335

Open rops opened 1 year ago

rops commented 1 year ago

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

boubou158 commented 1 year ago

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

dominique-mueller commented 8 months ago

Duplicate of https://github.com/sasstools/sass-lint/issues/1305, check the last comment for a workaround