ESLint configuration package published by Vercel as part of Next.js, providing a curated set of rules for Next.js projects. Current stable version is 16.2.4, with canary releases in parallel. It integrates with the Next.js compiler, includes TypeScript and React-specific rules, and is updated frequently alongside Next.js releases. Enforces best practices for App Router, Pages Router, image optimization, and data fetching. Requires eslint >=9.0.0 and typescript >=3.3.1 as peer dependencies. Differentiators include automatic detection of Next.js configuration and seamless integration with Next.js toolchain.
Verified import paths — ran on the pinned version, not inferred.
ESM-only since v16. Use import syntax with flat config.
ESM-only; use import for flat config.
ESM-only; standalone TypeScript config for flat config.
Shows how to use eslint-config-next with flat config in an eslint.config.mjs file, including core-web-vitals preset.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.