Skip to content

Commit 06f160d

Browse files
bloveclaude
andcommitted
fix(website): drop eslint-disable comments for unknown @next/next rule
The eslint-disable-next-line @next/next/no-img-element comments added in d035751 reference a rule the project's ESLint config doesn't load — and ESLint treats a disable directive for an undefined rule as an error itself. Drops the comments. The <img> usages are intentional (real local WebP screenshots in BrowserFrames where Next.js Image's optimization isn't needed — the files are already optimized and locally served). Fixes the Website — lint / build CI failure. Co-Authored-By: Claude Opus 4.7 <[email protected]>
1 parent d035751 commit 06f160d

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

apps/website/src/app/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export default async function HomePage() {
4242
cta={{ label: 'Read the streaming guide', href: '/docs/agent/api/agent' }}
4343
visual={
4444
<BrowserFrame url="cockpit.cacheplane.ai/langgraph/streaming" elevation="md">
45-
{/* eslint-disable-next-line @next/next/no-img-element */}
4645
<img
4746
src="/screenshots/cockpit-docs.webp"
4847
alt="Cockpit reference app — Angular streaming guide with provideAgent setup"
@@ -75,7 +74,6 @@ export default async function HomePage() {
7574
visualLeft
7675
visual={
7776
<BrowserFrame url="cockpit.cacheplane.ai/langgraph/api" elevation="md">
78-
{/* eslint-disable-next-line @next/next/no-img-element */}
7977
<img
8078
src="/screenshots/cockpit-api.webp"
8179
alt="Cockpit reference app — API reference rendered as structured cards"

apps/website/src/app/pilot-to-prod/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export default function PilotToProdPage() {
133133
visualLeft
134134
visual={
135135
<BrowserFrame url="cockpit.cacheplane.ai" elevation="md">
136-
{/* eslint-disable-next-line @next/next/no-img-element */}
137136
<img
138137
src="/screenshots/cockpit-run.webp"
139138
alt="Cockpit reference app — live chat surface ready to receive a message"

apps/website/src/components/landing/Hero.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export function Hero() {
8181
elevation="lg"
8282
style={{ position: 'absolute', top: 0, left: 0, width: '92%' }}
8383
>
84-
{/* eslint-disable-next-line @next/next/no-img-element */}
8584
<img
8685
src="/screenshots/cockpit-code.webp"
8786
alt="Cockpit reference app showing the Angular streaming component source"

0 commit comments

Comments
 (0)