coc-tailwindcss
coc-tailwindcss copied to clipboard
[css unknownAtRules] [W] Unknown at rule @tailwind
Describe the bug
Here is what's in my style.css file:
@tailwind base;
@tailwind components;
@tailwind utilities;
I'm seeing the following error: [css unknownAtRules] [W] Unknown at rule @tailwind
To Reproduce
I simply followed your install instructions: CocInstall coc-tailwindcss
Is there anything else I need to do?
Expected behavior I would expect not to see this error
Screenshots

Desktop (please complete the following information):
- OS: MacOs
Hi, @npearson72
"css: unknownAtRules" is a diagnostic message output from coc-css
.
There is a way to ignore this message. Try adding this setting to coc-settings.json
.
"css.lint.unknownAtRules": "ignore",
As a side note, coc-css
was updated the other day. This setting is only available with the latest version of coc-css, so please update coc-css as well.
I have the same issue with @apply
, and the coc-settings.json
update does not work for me. I also had this issue before installing coc-css
.
I've tried adding both of these:
"css.lint.unknownAtRules": "ignore",
"scss.lint.unknownAtRules": "ignore",
and still see the same error:
⚠ 191 @apply bg-white border text-black px-px5 pt-px2;
1 [css unknownAtRules] [W] Unknown at rule @apply