A full version history of the eslint-plugin-react-hooks package with size, number of distributed files and dependency evolution.
The eslint-plugin-react-hooks package provides ESLint rules that enforce best practices for using React Hooks, ensuring code correctness and preventing common errors. From its initial release as version 0.0.0 in October 2018, the plugin has undergone significant evolution, reflecting the maturing React Hooks ecosystem. Early versions, such as 1.x, focused on core functionalities like the rules-of-hooks and exhaustive-deps rules, with incremental improvements and bug fixes in subsequent patch releases.
The 2.x, 3.x, and 4.x iterations brought enhancements and refinements to these rules, alongside broadened ESLint compatibility, including support for ESLint versions 3 through 7. Version 4.0.0 introduced devDependencies of @typescript-eslint/parser. Starting with version 4.1.1, the devDependencies introduces incremental @typescript-eslint/parser-v. Newer versions (4.3.0 onwards) expanded peer dependency support to include ESLint 8. The relatively long period before newer versions implies considerable stability in previous releases. The introduction of version 5.0.0 indicates a significant update with new dependencies for various older eslint versions such as eslint-v7 and eslint-v9, and new devDependencies The latest versions, 5.2.0 and 6.0.0, showcase evolving toolchains through the inclusion of more modern development dependencies, such as jest, typescript, zod, @babel/core, and hermes-parser, further solidifying the plugin's effectiveness and relevance within modern React development workflows. In version 6.0.0 eslint-v8 was included as devDependency.