Skip to content

Commit 248f704

Browse files
committed
chore: fix lint errors
1 parent f06705e commit 248f704

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
"vite": "^6.3.5",
8282
"vite-plugin-vercel": "^9.0.7"
8383
},
84-
"packageManager": "pnpm@10"
84+
"packageManager": "pnpm@10.14.0"
8585
}

src/client/components/DynamicParameter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ const isValidParameterOption = (
679679
if (Array.isArray(parsed)) {
680680
values = parsed;
681681
}
682-
} catch (e) {
682+
} catch (_e) {
683683
return false;
684684
}
685685

src/client/components/MultiSelectCombobox.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ export const MultiSelectCombobox = forwardRef<
458458
filter={commandFilter()}
459459
>
460460
{/* biome-ignore lint/a11y/useKeyWithClickEvents: onKeyDown is not needed here */}
461+
{/* biome-ignore lint/a11y/noStaticElementInteractions: This code is pulled from coder/coder and should be fixed there */}
461462
<div
462463
className={cn(
463464
"h-10 min-h-10 rounded-md border border-border border-solid pr-3 text-sm focus-within:ring-2 focus-within:ring-content-link",
@@ -472,7 +473,7 @@ export const MultiSelectCombobox = forwardRef<
472473
inputRef?.current?.focus();
473474
}}
474475
>
475-
<div className="flex items-center justify-between h-full">
476+
<div className="flex h-full items-center justify-between">
476477
<div className="relative flex flex-wrap gap-1">
477478
{selected.map((option) => {
478479
return (
@@ -593,7 +594,7 @@ export const MultiSelectCombobox = forwardRef<
593594
}}
594595
>
595596
{isLoading ? (
596-
<>{loadingIndicator}</>
597+
loadingIndicator
597598
) : (
598599
<>
599600
{EmptyItem()}

src/client/components/Stack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Stack = forwardRef<HTMLDivElement, StackProps>((props, ref) => {
1212
<div
1313
{...divProps}
1414
ref={ref}
15-
className={cn("flex flex-col gap-4 flex-wrap max-w-full", className)}
15+
className={cn("flex max-w-full flex-col flex-wrap gap-4", className)}
1616
>
1717
{children}
1818
</div>

src/client/components/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const Trigger: FC<TriggerProps> = ({
3636
<Tabs.Trigger
3737
{...rest}
3838
className={cn(
39-
"flex min-w-[120px] items-center gap-2 border-x border-x-transparent px-4 py-3 text-center text-content-secondary text-sm transition-colors hover:bg-surface-secondary hover:text-content-primary data-[disabled]:cursor-not-allowed data-[state=active]:border-x-border data-[state=active]:bg-surface-secondary data-[state=active]:text-content-primary data-[disabled]:hover:bg-inherit data-[disabled]:hover:text-content-secondary data-[state=active]:first:border-l-transparent last:border-r last:border-r-border",
39+
"flex min-w-[120px] items-center gap-2 border-x border-x-transparent px-4 py-3 text-center text-content-secondary text-sm transition-colors last:border-r last:border-r-border hover:bg-surface-secondary hover:text-content-primary data-[disabled]:cursor-not-allowed data-[state=active]:border-x-border data-[state=active]:bg-surface-secondary data-[state=active]:text-content-primary data-[disabled]:hover:bg-inherit data-[disabled]:hover:text-content-secondary data-[state=active]:first:border-l-transparent",
4040
className,
4141
)}
4242
>

src/client/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Related issue: https://github.com/shadcn-ui/ui/issues/805#issuecomment-1616021820
44
*/
55

6-
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap");
76
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap");
87

98
@tailwind base;

src/server/routes/404.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ const NotFound: FC = () => {
1919
<BaseHeader />
2020
</head>
2121
<body>
22-
<main className="flex items-center justify-center w-screen h-dvh">
23-
<div className="flex flex-col gap-2 md:gap-4 items-center">
22+
<main className="flex h-dvh w-screen items-center justify-center">
23+
<div className="flex flex-col items-center gap-2 md:gap-4">
2424
<div className="flex flex-col items-center gap-1 md:gap-2">
2525
<p className="font-mono text-sky-700">404</p>
26-
<h1 className="text-3xl md:text-6xl font-semibold text-content-primary text-center">
26+
<h1 className="text-center font-semibold text-3xl text-content-primary md:text-6xl">
2727
Page not found
2828
</h1>
2929
</div>
30-
<p className="text text-content-secondary md:text-lg text-center">
30+
<p className="text text-center text-content-secondary md:text-lg">
3131
Sorry, we couldn't find this page
3232
</p>
3333
<a
3434
href="/parameters"
35-
className="flex text-center hover:underline gap-1 text-blue-700 md:text-content-primary hover:text-blue-700 transition-colors group underline md:no-underline"
35+
className="group flex gap-1 text-center text-blue-700 underline transition-colors hover:text-blue-700 hover:underline md:text-content-primary md:no-underline"
3636
>
3737
Return home{" "}
3838
<ArrowRightIcon
39-
className="group-hover:translate-x-1 transform transition-transform"
39+
className="transform transition-transform group-hover:translate-x-1"
4040
width={16}
4141
/>
4242
</a>

0 commit comments

Comments
 (0)