Eslint-config-prettier, a vital tool for developers aiming to integrate ESLint and Prettier seamlessly, underwent a significant update from version 6.15.0 to 7.0.0. While both versions share the core purpose of disabling ESLint rules that conflict with Prettier's formatting, version 7.0.0 marks a shift towards streamlined functionality. A key difference lies in the peer dependency constraints. Version 7.0.0 requires ESLint version 7.0.0 or higher, while the older version 6.15.0 supported ESLint versions as low as 3.14.1.
Notably, version 7.0.0 eliminates the direct dependencies present in version 6.15.0. The earlier version relied on packages like get-stdin and a host of devDependencies for testing and development purposes, including various ESLint plugins and configurations like eslint-plugin-vue, @typescript-eslint/parser, eslint-config-google, and others. This removal suggests a more focused and potentially lighter implementation in version 7.0.0, possibly outsourcing or streamlining the development and testing processes. The unpacked size difference reflects this change: 16839 bytes for v7.0.0 compared to 62324 bytes for v6.15.0.
This shift is important for developers to consider when upgrading. If your project relies on the development-related packages listed in v6.15.0, ensure they are managed separately in your project's devDependencies after upgrading. The updated peer dependency also dictates a minimum ESLint version, which needs to be considered before making the jump to version 7.0.0.
The are not vulnerabilities for the version 7.0.0 of the package eslint-config-prettier