A full version history of the eslint-config-next package with size, number of distributed files and dependency evolution.
The eslint-config-next npm package has undergone significant evolution since its initial release in 2015. Early versions (0.1.x and 0.2.x) by Manuel Vila focused on providing a foundational ESLint configuration tailored for Next.js, leveraging the Babel parser to support cutting-edge JavaScript features. These initial releases were lightweight, featuring no explicit dependencies.
A major shift occurred with the release of version 10.2.1 in 2021, marking Vercel's ownership and integration with Next.js. Subsequent versions (11.x, 12.x, 13.x, 14.x and early 15.x) track Next.js releases and include Next.js own plugin, ensuring the ESLint configuration remains closely aligned with Next.js's evolving best practices.
The dependencies increased starting the 10.X version with peer dependecies and dependencies as eslint-plugin-react, eslint-plugin-import, eslint-plugin-jsx-a11y, @rushstack/eslint-patch, @next/eslint-plugin-next, @typescript-eslint/parser, eslint-plugin-react-hooks, eslint-import-resolver-node. It ensures the configuration benefits from latest ESLint rules. Peer dependencies highlight the essential versions of next, eslint, and typescript needed for optimal integration.
A new major version 15 (currently at 15.5.2) changes peer dependencies. Since verson 14.2.8 @typescript-eslint/eslint-plugin is added as dependency.
Frequent patch releases address bug fixes and dependency updates, reflecting the project's commitment to stability and compatibility. These consistent upgrades provide Next.js developers with a reliable and up-to-date linting solution.