Skip to content

Commit 24f377f

Browse files
committed
fix: Configure Biome for Tailwind CSS and format globals.css
- Enable 'tailwindDirectives' in biome.json to correctly parse Tailwind CSS syntax. - Format src/app/globals.css to adhere to Biome's formatting rules. - This resolves the linting failure in the CI pipeline.
1 parent 250d142 commit 24f377f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

biome.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"ignoreUnknown": true,
1010
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
1111
},
12+
"css": {
13+
"parser": {
14+
"tailwindDirectives": true
15+
}
16+
},
1217
"formatter": {
1318
"enabled": true,
1419
"indentStyle": "space",

src/app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
Note: font is handled by `next/font` via the Inter className,
4141
so we only apply colors here. */
4242
body {
43-
background: var(--background); /* Uses light or dark background dynamically */
44-
color: var(--foreground); /* Uses light or dark text color dynamically */
43+
background: var(--background); /* Uses light or dark background dynamically */
44+
color: var(--foreground); /* Uses light or dark text color dynamically */
4545
}

0 commit comments

Comments
 (0)