How Can i rid of the red lines while declaring variables in .scss file in VS code

24 views Asked by At

enter image description here

Getting this red lines while declaring the variables in .scss file in VS Code.

The error I'm getting: enter image description here

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

1

There are 1 answers

0
NemoRu On

You probably need to select language mode to scss in you vs code.
Same error
Go to bottom panel and find language mode selector.
Bottom panale vs code
Press this button and in a pop-up there type scss and change language mode to scss.
vs code pop-up
That should do the trick.