Eslint-plugin-prettier versions 3.1.4 and 3.1.3 offer developers a seamless way to integrate Prettier's code formatting capabilities directly into their ESLint workflows. This ensures consistent code style across projects by automatically formatting code according to Prettier's rules as part of the linting process.
While both versions share a similar core functionality and dependencies like prettier-linter-helpers, the crucial difference lies in the supported ESLint version. Version 3.1.4 upgrades the supported ESLint version from ^6.0.0 to ^7.0.0. This is a significant upgrade that aligns the plugin with the latest ESLint features and improvements. For developers already using ESLint 7 or planning to upgrade, version 3.1.4 is essential to maintain compatibility and leverage the latest linting capabilities. Both versions maintain peer dependency support for ESLint versions greater or equal to 5.0.0, and Prettier versions greater of equal to 1.13.0.
Both versions maintains the same set of development dependencies, including tools for testing (Mocha), Vue parsing (vue-eslint-parser), Node.js linting (eslint-plugin-node), and configurations for consistent code style and plugin development. Selecting the right version ensures a smooth integration of Prettier into your ESLint setup, contributing to cleaner, more maintainable code. The updated release also featured a slight increase in the unpacked size.
The are not vulnerabilities for the version 3.1.4 of the package eslint-plugin-prettier