Eslint-plugin-prettier version 2.2.0 introduces subtle but potentially important changes compared to version 2.1.2. Both versions serve the core function of enabling Prettier as an ESLint rule, automating code formatting and ensuring consistency within JavaScript projects. They share identical dependencies like fast-diff and jest-docblock, and development dependencies including testing and linting tools like mocha, eslint, moment, semver, prettier, eslint-plugin-node, eslint-config-prettier, eslint-plugin-eslint-plugin and eslint-config-not-an-aardvark. The license, repository information, and author remain unchanged. The crucial difference lies in the peer dependencies declared. Version 2.1.2 requires both eslint (version >=3.14.1) and prettier (version >=0.11.0) as peer dependencies. However, version 2.2.0 *removes* the eslint peer dependency, maintaining only prettier (>=0.11.0). For developers, this potentially eases integration into existing ESLint configurations as it loosens the enforced ESLint version for the plugin to work. Developers upgrading should note that the removal of the ESLint peer dependency implies the plugin relies on the ESLint installation defined in the project. Version 2.2.0 was released on August 16, 2017, whereas version 2.1.2 was released on June 14, 2017.
The are not vulnerabilities for the version 2.2.0 of the package eslint-plugin-prettier