Skip to content

Conversation

Dishairano
Copy link

Summary

  • update the
    o-html-link-for-pages rule to use configured page extensions when collecting internal routes
  • expose the detected pageExtensions from eslint-config-next so the rule works without manual settings
  • add unit fixtures covering .page.tsx files to prevent regressions

Fixes #53473.

Testing

  • corepack pnpm --filter eslint-plugin-next test -- --testPathPattern=no-html-link-for-pages.test.ts

@ijjk
Copy link
Member

ijjk commented Oct 20, 2025

Allow CI Workflow Run

  • approve CI run for commit: 4e0534d

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@next/next/no-html-link-for-pages rule does not work with pageExtensions

2 participants