Skip to content

Commit d0ffed4

Browse files
committed
fix: remove most annoying biome rule EVER
1 parent 452f720 commit d0ffed4

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

apps/api/biome.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@
88
},
99
"files": {
1010
"ignoreUnknown": false,
11-
"includes": ["**"]
11+
"includes": [
12+
"**"
13+
]
1214
},
1315
"formatter": {
1416
"enabled": true,
1517
"indentStyle": "tab"
1618
},
17-
"assist": { "actions": { "source": { "organizeImports": "on" } } },
19+
"assist": {
20+
"actions": {
21+
"source": {
22+
"organizeImports": "off"
23+
}
24+
}
25+
},
1826
"linter": {
1927
"enabled": true,
2028
"rules": {
@@ -26,4 +34,4 @@
2634
"quoteStyle": "double"
2735
}
2836
}
29-
}
37+
}

apps/dashboard/app/(main)/websites/[id]/_components/tabs/performance-tab.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
"use client";
22

3-
import { Question } from "@phosphor-icons/react";
3+
import { QuestionIcon } from "@phosphor-icons/react";
44
import {
55
AlertTriangle,
66
CheckCircle,
7-
MapPin,
87
Monitor,
98
Smartphone,
109
TrendingUp,
@@ -148,7 +147,7 @@ const PerformanceSummaryCard = ({
148147
<TooltipProvider>
149148
<Tooltip>
150149
<TooltipTrigger>
151-
<Question className="h-3 w-3 text-muted-foreground" />
150+
<QuestionIcon className="h-3 w-3 text-muted-foreground" />
152151
</TooltipTrigger>
153152
<TooltipContent>
154153
<p>A weighted score based on page load times and visitor counts.</p>

biome.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
}
2222
}
2323
},
24+
"assist": {
25+
"actions": {
26+
"source": {
27+
"organizeImports": "off"
28+
}
29+
}
30+
},
2431
"javascript": {
2532
"formatter": {
2633
"quoteStyle": "double"

0 commit comments

Comments
 (0)