Eslint-config-onelint provides a shareable ESLint configuration designed to enforce the code style used at one.com. Version 4.0.0 represents an upgrade from version 3.0.0, primarily focused on expanding ESLint compatibility. The key change lies in the declared peerDependencies. Version 3.0.0 explicitly stated a peer dependency on ESLint version 4, while version 4.0.0 broadens this range to include both ESLint version 4 and version 5 ("^4 || ^5"). This is crucial for developers as it allows eslint-config-onelint to be used with newer ESLint installations, preventing compatibility issues and making the configuration more future-proof. Developers upgrading to ESLint 5 within their projects can now seamlessly adopt or continue using eslint-config-onelint without needing to downgrade their core ESLint dependency.
Furthermore, although not a complete rewrite, the jump to 4.0.0 likely includes updates to rules within the configuration itself to better align with best practices and potentially incorporate new linting rules available in ESLint 5. For developers already using version 3.0.0, upgrading to 4.0.0 ensures they benefit from improved code style enforcement and avoid potential deprecation issues related to older ESLint versions. While the devDependencies also receive updates (eslint dependency moved from ^4.11.0 to ^5.0.0), the peer dependency change is the most visible and important change for end-users.
The are not vulnerabilities for the version 4.0.0 of the package eslint-config-onelint