Eslint-plugin-prettier version 5.0.0 introduces several notable changes compared to the previous stable version 4.2.5, primarily focusing on dependency updates and tooling improvements, impacting developers using this package to enforce code formatting with Prettier. The core functionality of running Prettier as an ESLint rule remains consistent.
Key differences lie within the development dependencies. Version 5.0.0 features significant upgrades to ESLint (now requiring >=8.44.0), Prettier (now requiring >=3.0.0) and related plugins, reflecting their current major versions, demanding also an upgrade for their peer dependencies, and it has added synckit. This signifies alignment with the latest tooling ecosystems. It also includes commitlint and lint-staged for better code management, and updates to eslint-plugin-n. Older dev dependencies are removed like patch-package, @1stg/common-config, @1stg/eslint-config, eslint-plugin-utils, @typescript-eslint/parser and @ota-meshi/eslint-plugin-svelte
For developers, this means that upgrading to 5.0.0 requires ensuring compatibility with these newer peer dependency versions. The updated development dependencies signal a move towards modern linting and formatting workflows, potentially leveraging new features and performance improvements in those tools. The addition of synckit is relevant for solving problems regarding synchronous operations. However, the core usage of eslint-plugin-prettier for integrating Prettier with ESLint remains largely the same, providing a smoother upgrade path for those already familiar with the package.
The are not vulnerabilities for the version 5.0.0 of the package eslint-plugin-prettier