diff --git a/apps/demo-vite/src/root.tsx b/apps/demo-vite/src/root.tsx
index b4b1da3..636d135 100644
--- a/apps/demo-vite/src/root.tsx
+++ b/apps/demo-vite/src/root.tsx
@@ -81,7 +81,6 @@ const RootLayout = (): ReactNode => (
- {/* eslint-disable-next-line @next/next/no-img-element */}
(
src="/dashfoo-logo-light.svg"
width={105}
/>
- {/* eslint-disable-next-line @next/next/no-img-element */}
({
nav: {
title: (
<>
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
>
diff --git a/apps/landing/app/_components/chart-panel.tsx b/apps/landing/app/_components/chart-panel.tsx
index e8208b2..1f9b2c8 100644
--- a/apps/landing/app/_components/chart-panel.tsx
+++ b/apps/landing/app/_components/chart-panel.tsx
@@ -10,12 +10,7 @@ const ChartPanel = (): ReactNode => (
{CHART_BARS.map((h, i) => (
-
+
))}
diff --git a/oxlint.config.ts b/oxlint.config.ts
index 93362d3..d978b4a 100644
--- a/oxlint.config.ts
+++ b/oxlint.config.ts
@@ -21,6 +21,15 @@ export default defineConfig({
},
},
+ {
+ // demo-vite is a Vite app: next/image does not exist there, so the Next-specific
+ // img ban cannot be satisfied.
+ files: ["apps/demo-vite/**/*.tsx"],
+ rules: {
+ "nextjs/no-img-element": "off",
+ },
+ },
+
{
files: ["packages/react/src/hooks/responsive.ts"],
rules: {