glen-84 / vscode-sass-lint

Sass Lint for Visual Studio Code
16 stars 1 forks source link

[scss] ( expected when interpolation is used #22

Closed Kovas closed 6 years ago

Kovas commented 6 years ago

Hello,

I get [scss] ( expected when interpolation is used for variable in media query:

    @media screen and #{breakpoint(medium)} and (min-height: 50em) {
        min-height: 100vh;
        padding: rem-calc(200 0);
    }

#{breakpoint(medium)} returns (min-width: 40em), so there's no need for (.

Is there anything I can do about it?

glen-84 commented 6 years ago

That's coming from the built-in SCSS validation.

You can disable it with:

"scss.validate": false

(in your VS Code settings)

Kovas commented 6 years ago

My bad. Thanks :)