design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Tokens function linting error

Open alizedebray opened this issue 1 year ago • 1 comments

When overriding the tokens.$default-map I get the following error: Image

alizedebray avatar Sep 30 '24 12:09 alizedebray

I found the following resources, which should show, we are using valid SCSS syntax, but our editors, somehow mark it as error:

  • https://sass-lang.com/documentation/at-rules/use/#reassigning-variables
  • https://github.com/microsoft/vscode-css-languageservice/issues/278
  • https://youtrack.jetbrains.com/issue/WEB-46500/scss-avoid-syntax-errors-on-assigning-a-value-to-module-variable

I don't know if there is an actual fix for it...

oliverschuerch avatar Oct 07 '24 10:10 oliverschuerch

@alizedebray can we close this for now, because there is no solution to this false positive right now?

oliverschuerch avatar Oct 09 '24 08:10 oliverschuerch

@oliverschuerch sure, if there is no solution for now we will just have to wait.

alizedebray avatar Oct 09 '24 12:10 alizedebray