feat: add Zed editor config for Tailwind CSS
- Create .zed/settings.json to ignore unknown at-rule warnings - Configure Zed to ignore Tailwind's @tailwind directives - Add explanatory comment in input.css for Tailwind directives - Resolves CSS linter warnings in Zed editor
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"linter": {
|
||||||
|
"css": {
|
||||||
|
"disabled": ["unknownAtRules"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"language": {
|
||||||
|
"CSS": {
|
||||||
|
"unknownAtRules": "ignore"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,10 +1,7 @@
|
|||||||
/* tailwindcss start - suppress at-rule warnings */
|
/* Tailwind CSS directives - required for framework */
|
||||||
/* eslint-disable */
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
/* eslint-enable */
|
|
||||||
/* tailwindcss end */
|
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
Reference in New Issue
Block a user