fix: enable tailwindDirectives in biome css parser

Biome 2.5.7's CSS parser rejects @apply/@theme (Tailwind v4 syntax)
by default, which broke the format CI job after the version bump.
Enable css.parser.tailwindDirectives and apply the resulting
formatter output (quote-style/line-wrap normalization from the
newer formatter).
This commit is contained in:
Mohammad AlSmadi 2026-08-10 15:31:17 +04:00
parent dced7970ac
commit ae2edc79bf
3 changed files with 7 additions and 6 deletions

View File

@ -147,7 +147,7 @@ export const AddGithubProvider = () => {
isOrganization && !organizationName
? "pointer-events-none opacity-50"
: ""
}`}
}`}
target="_blank"
rel="noopener noreferrer"
>

View File

@ -2,9 +2,9 @@
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@plugin 'tailwindcss-animate';
@plugin '@tailwindcss/typography';
@plugin 'fancy-ansi/plugin';
@plugin "tailwindcss-animate";
@plugin "@tailwindcss/typography";
@plugin "fancy-ansi/plugin";
@custom-variant dark (&:is(.dark *));
@ -21,8 +21,8 @@
@theme {
--font-sans:
var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
var(--font-inter), ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--breakpoint-3xl: 1920px;

View File

@ -19,6 +19,7 @@
"maxSize": 2097152,
"experimentalScannerIgnores": [".next", "node_modules", ".docker", "dist"]
},
"css": { "parser": { "tailwindDirectives": true } },
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"rules": {