Tailwind adds @tailwind css at rule which is flagged as unknown.
How can I avoid this error?
eg styles.css
@tailwind prefligh
SCSS
If you are using SASS with Tailwind, you will still see errors in your .scss files using these earlier answers to this question.
To properly lint SASS, you can add to your VS Code settings:
"scss.validate": false,
Follow the instructions by @hasusuf but turn off the default VS Code validator:
Add these 3 settings:
"css.validate": false,
"scss.validate": false,
"stylelint.enable": true,