npmvisual-studio-code95% confidence\u2191 32

How do you get rid of these SASS linting errors when using Tailwind CSS?

Full error message
I'm using Tailwind in a Gatsby project.  My environment is Visual Studio Code, using the Prettier code formatter.

How do I get rid of these linting error alerts?

Solution for both .css and .scss At the root level of your project, update or create a directory, .vscode, with a file, settings.json: Add the following to file .vscode/settings.json: { "css.validate": false, "less.validate": false, "scss.validate": false } Install the vscode-stylelint extension Install stylelint-config-standard: npm i stylelint-config-standard -D Create a stylelint.config.js file at the root level and add: module.exports = { extends: ['stylelint-config-recommended'], rules: { "at-rule-no-unknown": [ true, { ignoreAtRules: [ "tailwind", "apply", "variants", "responsive", "screen", ], }, ], "declaration-block-trailing-semicolon": null, "no-descending-specificity": null, }, }; Restart Visual Studio Code Results: You get rid of these Sass linting errors when using Tailwind CSS and keep doing CSS validation with Stylelint.

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/f087d8cccd293bcab67e2538013676586560534c038713cd4407523a5781cbe7
hash \u00b7 f087d8cccd293bcab67e2538013676586560534c038713cd4407523a5781cbe7
How do you get rid of these SASS linting errors when using T… — DepScope fix | DepScope