How to Fix the “Unknown At Rule @tailwindcss” Warning in VS Code
Problem: When you include Tailwind in your project, you might encounter the warning message “Unknown at rule @tailwindcss(unknownAtRules)” in VS Code.
Here’s a step-by-step guide on how to resolve this issue:
- Open the settings in VS Code.
- Search for “unknown” within the settings. The first result should be “CSS > Lint: Unknown At Rules”.
- Change the setting value from its default configuration to “ignore”.
- Save the changes.
Once you have made this adjustment, the warning message should no longer appear in your VS Code editor.
tags: [“Visual Studio Code”, “Tailwind CSS”, “web development”, “CSS”, “linting”]