CodeBrowser / npm / eslint-plugin-react-hooks
eslint-plugin-react-hooks@7.1.1
// ESLint rules for React Hooks
$ npm install eslint-plugin-react-hooks
downloads/wk
91,040,836
license
MIT
version
7.1.1
published
Apr 17, 2026
What is eslint-plugin-react-hooks?
eslint-plugin-react-hooks provides ESLint rules that enforce best practices when using React Hooks in your code. It helps catch common mistakes like missing dependencies in dependency arrays and using hooks conditionally, which can lead to bugs and unpredictable behavior. Use this plugin if you're building React applications with hooks and want automated checks to ensure your code follows React's rules of hooks.
Keywords
#eslint #eslint-plugin #eslintplugin #react
Maintainers
react-bot