eslint-config-next is a crucial npm package for Next.js developers, providing a pre-configured ESLint setup tailored for Next.js projects. Version 12.3.0 and 12.2.6 share a common foundation, ensuring consistent code quality through dependencies like eslint-plugin-react, eslint-plugin-import, eslint-plugin-jsx-a11y, and eslint-plugin-react-hooks. They also use @typescript-eslint/parser for comprehensive TypeScript support. Key utilities for resolving imports are included via eslint-import-resolver-node and eslint-import-resolver-typescript. Both versions include @rushstack/eslint-patch which is a dependency that fixes some eslint issues.
The primary difference lies in the version of the internal @next/eslint-plugin-next dependency, aligning with the overall eslint-config-next version. This internal plugin provides Next.js-specific linting rules, ensuring best practices and compatibility within the Next.js ecosystem. Upgrading from 12.2.6 to 12.3.0 ensures you're leveraging the latest Next.js linting rules and optimizations. Developers upgrading should be aware of potential changes in linting rules as the internal @next/eslint-plugin-next might introduce new or modified rules, potentially requiring code adjustments to align with the updated configuration. Version 12.3.0 also sees an increase in file count, from 4 to 5, and unpacked size, suggesting potential additions or modifications to the configuration files themselves. The release dates also highlight that 12.3.0 was released before 12.2.6, which is unusual.
The are not vulnerabilities for the version 12.3.0 of the package eslint-config-next