The eslint-config-next package provides a standardized ESLint configuration tailored for Next.js projects, helping developers enforce consistent code style and best practices. Comparing versions 14.2.0 and 14.1.4, several key changes emerge that developers should be aware of when upgrading.
Notably, @typescript-eslint/parser dependency has been updated in version 14.2.0. The allowed versions now include 7.0.0 - 7.2.0 while previously only allowed ^5.4.2 || ^6.0.0. This means that this version is now compatible with never typescript-eslint versions to leverage new features. The new eslint-config-next also includes @next/eslint-plugin-next with the version 14.2.0, which was previously on 14.1.4, to keep the eslint plugin aligned with the core package and guarantee the full compatibility. This ensures that Next.js-specific linting rules are up-to-date and effectively catch potential issues related to Next.js features and conventions.
Developers should carefully review their projects and dependencies to ensure compatibility with these changes, particularly regarding TypeScript and Next.js plugin updates. Upgrading to the latest eslint-config-next offers the benefit of refined rules and compatibility with newer versions of related tools, helping developers maintain high-quality, consistent codebases in their Next.js projects and reduce the risk of code errors in their projects. Furthermore the unpacked size has been updated from 4836 to 4853. Finally the release date for 14.2.0 is "2024-04-11T19:45:18.361Z" to have a more recent linter configuration.
The are not vulnerabilities for the version 14.2.0 of the package eslint-config-next