Skip to content

Commit ae2edc7

Browse files
committed
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).
1 parent dced797 commit ae2edc7

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎apps/dokploy/components/dashboard/settings/git/github/add-github-provider.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const AddGithubProvider = () => {
147147
isOrganization && !organizationName
148148
? "pointer-events-none opacity-50"
149149
: ""
150-
}`}
150+
}`}
151151
target="_blank"
152152
rel="noopener noreferrer"
153153
>

‎apps/dokploy/styles/globals.css‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
@import "tw-animate-css";
33
@import "shadcn/tailwind.css";
44

5-
@plugin 'tailwindcss-animate';
6-
@plugin '@tailwindcss/typography';
7-
@plugin 'fancy-ansi/plugin';
5+
@plugin "tailwindcss-animate";
6+
@plugin "@tailwindcss/typography";
7+
@plugin "fancy-ansi/plugin";
88

99
@custom-variant dark (&:is(.dark *));
1010

@@ -21,8 +21,8 @@
2121

2222
@theme {
2323
--font-sans:
24-
var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
25-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
24+
var(--font-inter), ui-sans-serif, system-ui, sans-serif,
25+
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2626

2727
--breakpoint-3xl: 1920px;
2828

‎biome.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"maxSize": 2097152,
2020
"experimentalScannerIgnores": [".next", "node_modules", ".docker", "dist"]
2121
},
22+
"css": { "parser": { "tailwindDirectives": true } },
2223
"assist": { "actions": { "source": { "organizeImports": "on" } } },
2324
"linter": {
2425
"rules": {

0 commit comments

Comments
 (0)