Skip to content

Lightweight server monitoring with historical data, docker stats, and alerts.

fix(site): support Tailwind directives in Biome (#2603)

spatiumstas9e600492481c
diff --git a/internal/site/biome.json b/internal/site/biome.json
index f1268f131..4b9bb40d7 100644
--- a/internal/site/biome.json
+++ b/internal/site/biome.json
@@ -1,5 +1,10 @@
{
- "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
+ "$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
+ "css": {
+ "parser": {
+ "tailwindDirectives": true
+ }
+ },
"vcs": {
"enabled": true,
"clientKind": "git",
diff --git a/internal/site/package.json b/internal/site/package.json
index 12aa80cf2..d1b955b00 100644
--- a/internal/site/package.json
+++ b/internal/site/package.json
@@ -51,7 +51,7 @@
"valibot": "^1.4.2"
},
"devDependencies": {
- "@biomejs/biome": "2.2.4",
+ "@biomejs/biome": "2.3.15",
"@lingui/cli": "^5.4.1",
"@lingui/swc-plugin": "^5.6.1",
"@lingui/vite-plugin": "^5.4.1",
diff --git a/internal/site/src/index.css b/internal/site/src/index.css
index d33bd106f..403a2f1a0 100644
--- a/internal/site/src/index.css
+++ b/internal/site/src/index.css
@@ -178,7 +178,7 @@
/* cosmetic patch for half pixel gap in table headers when scrolling content shows at top */
thead.sticky:before {
content: "";
- @apply absolute -top-2 left-0 w-full h-4 bg-table-header z-50
+ @apply absolute -top-2 left-0 w-full h-4 bg-table-header z-50;
}
}