
Getting this red lines while declaring the variables in .scss file in VS Code.
The error I'm getting:

I tried different configurations in settings in vs code but its not working. How can I fix this?

Getting this red lines while declaring the variables in .scss file in VS Code.
The error I'm getting:

I tried different configurations in settings in vs code but its not working. How can I fix this?
You probably need to select language mode to scss in you vs code.



Go to bottom panel and find language mode selector.
Press this button and in a pop-up there type scss and change language mode to scss.
That should do the trick.