Packages

@next/eslint-plugin-next

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

Your version

12.0.8

12 Jan 2022Where it was published

12.3.7 is the newest release of 12.x.

In short

1 removed15 new46 fixed44 changed82 internal

  • Removed

    Remove anonymous default export rule from Babel

Release note

Core Changes

  • Fix no-server-import-in-page eslint rule for subfolder middleware

  • Create Base Server

  • Revert support for render prop in <Main />

  • Refactor FS references in the Base Server

  • telemetry: Collect feature usage for linting during build

  • Chore/load bindings improvements

  • NODE_ENV: Warn when launching start or build on development

  • Fix crash in no-page-custom-font eslint rule when default export is unnamed.

  • Add docs for leveraging outputStandalone config

  • Replace raw-body with get-stream and bytes

  • Update to latest ncc and ensure caniuse-lite data is external

  • Update swc

  • Simplify custom Writable

  • Add shake exports transform to next-swc

  • Revert "Replace raw-body with get-stream and bytes"

  • Re-open chore(deps): upgrade browserslist

  • Fix RSC link navigation

  • Compile escape-string-regexp

  • Add unstable_useRefreshRoot

  • Upate swc

  • Fix unstable_useRefreshRoot typing

  • next-swc/styled-jsx: Fix nth

  • Rename experimental vital hook

  • Inline server data response with partial hydration

  • Update jsx transform of swc

  • Fix running server with Polyfilled fetch

  • Fix dynamic routes with pages under index folder

  • Fixes #32338 missing Document components trigger an error for production builds

  • Fixes for inline embedding data in the web runtime

  • Add vitals and rsc to npm files

  • Fixes to allow lazy compilation for import()

  • Upgrade webpack and watchpack

  • Update to filter loader specific files from traces

  • Fix server data cache key

  • Fix hydration for rewrites to dynamic pages

  • Ensure image-optimizer is traced for standalone mode

  • Remove unused classnames dependency from react-dev-overlay

  • next-swc: Emit errors and add tests to next-ssg

  • Include message body in redirect responses

  • Prevent NEXT_PHASE env change in workers

  • Check stack property for page export exceptions

  • next-swc/styled-jsx: Fix interpolation in media query

  • Update swc

  • Add turbo / improve Rust build caching in GitHub Actions

  • Fix ReadableStream.pipeTo() being unimplemented in the web runtime

  • Ensure AMP optimizer is only excluded from trace when not used

  • Upgraded next-env dependencies

  • Feat/14701 full reload notification

  • Move fs API for inc cache to node server

  • Add options to defaultGetInitialProps and upgrade styled-jsx-with-csp example

  • Fix style.filter on image with placeholder=blur

  • Fix writing strings to the writable stream writer

  • next/jest: Do not watch .next folder

  • Pre-compile more dependencies

  • Upgrade react 18 to rc, drop prerelease warning

  • next-swc: styled-jsx error checking and reporting updated (invalid-styled-jsx-children.md)

  • Fix style reset on image with placeholder=blur

  • Pre-compile more dependencies continued

  • Web runtime: add AbortController & AbortSignal

  • Don't swallow test failures caused by POSIX signals

  • Escape from next head in rsc _error page

  • Fix popstate detection for safari when basepath is present

  • Bust cache for RSC in each render

  • Update web runtime externals

  • Reduce styled-jsx size in client bundle

  • Bump nft to version 0.17.1

  • Removed

    Remove anonymous default export rule from Babel

  • eslint: Allow a for internal url when target="blank" present

  • eslint-plugin-next: Broken links in eslint output

  • Adds lint rule to flag usage of <head>

  • Ignore .d.ts files inside pages folder

  • Fix next/image noscript tag to only render when lazy

  • Simplify trace span id generation

  • Move resolve-url-loader into Next.js

  • router: Scroll to top when href="/" and hash already present

  • Remove un-needed test dependency

  • Fix issue with escape-string-regexp in IE11

  • Allow to opt-out from preflight cache

  • Ensure setImmediate and punycode are polyfilled

  • Fixes issue with makeStylesheetInert

  • Reduce install size for linux glibc/musl

  • Ensure middleware is output in standalone mode

  • Revert "Reduce install size for linux glibc/musl"

  • cli: Introduce next info CLI command

  • Ensure NODE_ENV is not inlined for next/jest

  • Converted the old tailwind css example to typescript

  • Ensure revalidation error is logged from response-cache

  • Add util for generating new tests/error documents

  • Fix middleware at root in standalone mode

  • Update swc

  • Use a separate webpack runtime for middleware

  • Allow dependencies to use environment variables in middlewares

  • next-swc: Fix ssg code elimination when used in render

  • Drop dynamic import with ssr: false on server-side

  • Fix broken yarn pnp

  • Add util for normalizing errors

Example Changes

  • Setup prismic image host

  • Add .web.jsx extension support in react-native-web example

  • Typescript example supporting strict w/ version >= 4.4

Misc Changes

  • Ensure wasm dev artifact uploads even on cache hit

  • Ensure test wasm does not fail for docs only change

  • Fix styled-jsx tests from swc bump

  • Fix flakey next/link react streaming test

  • Added docs issue template

  • Ensure experimental SWC options invalidate the cache

  • Add test case for middleware rewrite to fallback: true page

  • Ensure device IP is used for safari browserstack test

  • Run prettier on with-jest and with-jest-babel examples

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.