How to set grid-template-areas in sass (node-sass)

Viewed 107

I have an ASP.NET project, which I used Sass.

I used WebCompiler to compile my .scss files.

The SCSS code shown here is valid CSS, and does not ruin my app when I run it. (I created a fresh ASP.NET project with VS2019 .NET 5 and VS2022 .NET 6, and they both have the same warning)

enter image description here


Since WebCompiler is using node-sass, I checked the official node-sass repo for a solution regarding this. Unfortunately, there was none.

Is there a way to remove these warnings when setting a value for grid-template-areas?

If I completely remove all warnings (Tools -> Options -> Text Editor -> SCSS -> Advanced -> Enable Validation), I won't know potential errors/warnings in the future. I just want to remove this warning.

(Or do I need an extension for this?)




This SO question is similar to my problem. The problem of that question is about sass maps, and mine is about grid-template-areas.

0 Answers
Related