Skip to content

Commit fa45dea

Browse files
authored
upgrade biome to 2.0.6 (#7517)
1 parent f94226a commit fa45dea

File tree

61 files changed

+1610
-1732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1610
-1732
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup Biome
6464
uses: biomejs/setup-biome@a9763ed3d2388f5746f9dc3e1a55df7f4609bc89 # v2.5.1
6565
with:
66-
version: 2.0.4
66+
version: 2.0.6
6767

6868
- run: pnpm lint
6969

apps/dashboard/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
33
"extends": "//"
44
}

apps/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"zod": "3.25.67"
8686
},
8787
"devDependencies": {
88-
"@biomejs/biome": "2.0.4",
88+
"@biomejs/biome": "2.0.6",
8989
"@chakra-ui/cli": "^2.4.1",
9090
"@chromatic-com/storybook": "4.0.0",
9191
"@next/bundle-analyzer": "15.3.3",

apps/dashboard/src/@/components/blocks/TWTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** biome-ignore-all lint/a11y/useSemanticElements: FIXME */
12
"use client";
23

34
import {
@@ -164,7 +165,6 @@ export function TWTable<TRowData>(tableProps: TWTableProps<TRowData>) {
164165
return (
165166
<TableRow
166167
key={row.id}
167-
// biome-ignore lint/a11y/useSemanticElements: FIXME
168168
role="group"
169169
{...(tableProps.onRowClick
170170
? {

apps/dashboard/src/@/components/blocks/select-with-search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** biome-ignore-all lint/a11y/useSemanticElements: FIXME */
12
"use client";
23

34
import { CheckIcon, ChevronDownIcon, SearchIcon } from "lucide-react";
@@ -190,7 +191,6 @@ export const SelectWithSearch = React.forwardRef<
190191
ref={
191192
i === optionsToShow.length - 1 ? lastItemRef : undefined
192193
}
193-
// biome-ignore lint/a11y/useSemanticElements: TDOO
194194
role="option"
195195
variant="ghost"
196196
>

apps/dashboard/src/@/components/connect-wallet/index.tsx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,18 @@ export const CustomConnectWallet = (props: {
120120

121121
if ((!isLoggedIn || !account) && loginRequired) {
122122
return (
123-
<>
124-
<Button
125-
asChild
126-
className={props.signInLinkButtonClassName}
127-
size="lg"
128-
variant="default"
123+
<Button
124+
asChild
125+
className={props.signInLinkButtonClassName}
126+
size="lg"
127+
variant="default"
128+
>
129+
<Link
130+
href={`/login${pathname ? `?next=${encodeURIComponent(pathname)}` : ""}`}
129131
>
130-
<Link
131-
href={`/login${pathname ? `?next=${encodeURIComponent(pathname)}` : ""}`}
132-
>
133-
Connect Wallet
134-
</Link>
135-
</Button>
136-
</>
132+
Connect Wallet
133+
</Link>
134+
</Button>
137135
);
138136
}
139137

apps/dashboard/src/@/components/contract-components/tables/contract-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ const NetworkFilterCell = React.memo(function NetworkFilterCell({
314314
client: ThirdwebClient;
315315
}) {
316316
if (chainIds.length < 2) {
317-
return <> NETWORK </>;
317+
return "NETWORK";
318318
}
319319

320320
return (

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/marketplace-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// biome-ignore-all lint/nursery/noNestedComponentDefinitions: TODO
2+
/** biome-ignore-all lint/a11y/useSemanticElements: FIXME */
23

34
import {
45
IconButton,
@@ -256,7 +257,6 @@ export const MarketplaceTable: React.FC<MarketplaceTableProps> = ({
256257
// biome-ignore lint/suspicious/noArrayIndexKey: FIXME
257258
key={rowIndex}
258259
onClick={() => setTokenRow(row.original)}
259-
// biome-ignore lint/a11y/useSemanticElements: FIXME
260260
role="group"
261261
style={{ cursor: "pointer" }}
262262
>

0 commit comments

Comments
 (0)