Search code examples
sassvisual-studio-codescss-lint

Is the Sass linting rule for enforcing a space between the prop and value working incorrectly with VS Code?


I have the latest version of Visual Studio Code (1.44.0) and the Sass extension (1.8.2), and am having an issue with a warning for: Property should have one space Between the prop and value Sass(Property: 1), despite it being formatted properly. it appears it should be tied to the "sass.format.setPropertySpace": false, property

I have tried setting all the possible Sass linting options to ignore, but the warning persists.

sass linting error

Setting "sass.lint.enable": false doesn't prevent it, and the only way i can seem to prevent it, is to disable the Sass extension entirely.

Is there a settings property i am missing, or some other way to disable this? or is it a bug?

UPDATE

i filed a ticket with the sass formatter, which can be found here https://github.com/TheRealSyler/sass-formatter/issues/23


Solution

  • I hope it help!

    image support!

    go to setting and disable sass lint

    Sass>Lint:Enable (unchecked )

    enter image description here