Packages

@next/eslint-plugin-next

16.4.6 · 9 Nov 2026MIT57.3M / weekRepositoryHomepagenpmAtom feed

Your version

12.2.1

7 Jul 2022Where it was published

12.3.7 is the newest release of 12.x.

In short

13 new23 fixed13 changed43 internal

Release note

Core Changes

  • Remove unused layoutRaw config

  • Fix invalid config warning for runtime config

  • next/config: Update default config for the experimental

  • next/swc: Setup native next-swc crash reporter

  • Fix unnecessary flight render passes

  • Readds missing @next/next/no-assign-module-variable ESLint rule.

  • Fix failing to set initial ISR cache item in new folder

  • Add default experimental values

  • Fix error when next/future/image is missing width or height

  • #38106: Use swc client config to pre-compile shared lib

  • Fix chunk path resolution

  • Revert "feat(next/swc): setup native next-swc crash reporter"

  • next/swc: Set cache dir explicitly

  • Ensure @swc/helpers do not rely on hoisting

  • Migrate rsc tests to app dir tests

  • Check for performance.getEntriesByName before calling

  • Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined.

  • Fix pageProps is missing when route changes

  • next/build: Send next-swc plugins telemetry

  • Ensure page.server.js matches correctly

  • Alias react and react-dom by default

  • Convert head instances to array

  • Make runtime addressable in compile time

  • Ensure trailing slash is handled correctly with middleware

  • Fix CSS modules imported from client components in app dir

  • Favor browser exports for edge compiler

  • Fix CSS modules imported from client components in app dir with next build

  • Honor NEXT_MANUAL_SIG_HANDLE flag in standalone mode

  • Display stack trace when error occurs in API route

  • Handle Client Rewrites Correctly

  • Fix global CSS file imports

  • Correctly check if width is lte 0 in Image Optimization API

  • Enable swc minifier in create next apps

  • Filter proper chunks from chunk group for client components

  • Enable edge compiler source maps by default

  • Call Error.getInitialProps for the top level error

  • Build edge functions with node.js modules and fail at runtime

  • Implement new client-side router

  • Add param names into the tree

  • next/swc: Setup native next-swc crash reporter with platform supports

  • Ensure server components entries are not part of the pages buildmanifest

  • Add app-path-routes manifest

Documentation Changes

  • middleware-upgrade-guide.md

Example Changes

  • Update with-msw example to function properly for all use cases

Misc Changes

  • Add more code ownership paths for padmaia

  • Fix create-next-app tests from changed example

  • Fix missing trace script devDependencies

  • Declare NextBundleAnalyzer as a type

  • Add more CSS imports test cases

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.