{"name":"eslint-plugin-react-hooks","version":"0.0.0-d7382b6c4","keywords":["eslint","eslint-plugin","eslintplugin","react"],"license":"MIT","_id":"eslint-plugin-react-hooks@0.0.0-d7382b6c4","maintainers":[{"name":"acdlite","email":"npm@andrewclark.io"},{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"lunaruan","email":"lunaris.ruan@gmail.com"},{"name":"threepointone","email":"threepointone@gmail.com"},{"name":"trueadm","email":"dg@domgan.com"}],"homepage":"https://reactjs.org/","bugs":{"url":"https://github.com/facebook/react/issues"},"dist":{"shasum":"d050485ddbfd08eb349319e18df655f306570d00","tarball":"http://registry-npm.ywwl.com/eslint-plugin-react-hooks/download/eslint-plugin-react-hooks-0.0.0-d7382b6c4.tgz","fileCount":7,"integrity":"sha512-Tyhc0DAUqPCOZ9Hagu/VfhKEwwhDymH6y8aHiTLqG8R2bwtQMQ2/5eKGdCPciPRTy/7+R+sLDmCu3hrtldRoHw==","signatures":[{"sig":"MEYCIQC8MmJLEb0Ey0hRhWJHeaEhOidcnfZOnRy4AtO1Eg/uQwIhANzFW+nFq+Do5U7LJP9vVQLgAMviWEdBCFAxmZ1FMMSV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegkG/CRA9TVsSAnZWagAA0G4QAJnr40x9JQki0TlAsId1\ninK79MSP50/wQ8+WMkGzYotImTS0zd1nIKz2sv9jPDReaoKe1sBBNxDGqu4h\nujkayFgV6O+iCojPiIhQv7Hx3fjiG4dXSvxb2XFc2gCoDOZE5AQpzvyZtg5m\nEFIgKIjUrekPwjyD8IHy/w9eZib3qgxR++LrrhWPjIyTN+QV2JXtGa9EJU0w\nH7Qwm7FC+H0R+7uMIrgDqMHWqOKp8hoUD/zM6fMLXyd50GR8bfe88RZ1t2OA\nvoPSvRYW7xH0NyrMJOgoPNw0SJQCK36kV03bxvJDdhsUsL/R3Tp5O7oI/uw1\nj7g1MceWbBFeU9L6C4muY74mcQUQFtu7AZrXt9dVeWbeCphbcis28HLkVgi/\nVtDk7G7nQQEP6/VEI39zqOM6RuJboMA6B4AEthEBqy7Zy1qA3wv8bv2sLDcW\n09FUW+i/LaCAQu8+qD8veWIGg1KY46ZKyG/3DmXT8sc0aiuJm4VV2N5pJLaQ\nerBDEl75O6kYhOU4lWkM+J+gqMHCvO54IB3bIi1OCqkXGeg2EqrBMWOjjCdI\n4w5+dlVh+KkYEbqC5Iknx6r/Yi7M/Neeb02BN8Itqrkm6DjpNOV3pftEvq4o\nk/x8ngUZDfHEFINvzJV2HbsWwTvcDcsXN6j4CjFcTCZmCcCgT8p/nOXcEQUv\n0UGU\r\n=QHrt\r\n-----END PGP SIGNATURE-----\r\n","size":26784,"noattachment":false,"key":"/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-0.0.0-d7382b6c4.tgz"},"readme":"# `eslint-plugin-react-hooks`\n\nThis ESLint plugin enforces the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html).\n\nIt is a part of the [Hooks API](https://reactjs.org/docs/hooks-intro.html) for React.\n\n## Installation\n\n**Note: If you're using Create React App, please use `react-scripts` >= 3 instead of adding it directly.**\n\nAssuming you already have ESLint installed, run:\n\n```sh\n# npm\nnpm install eslint-plugin-react-hooks --save-dev\n\n# yarn\nyarn add eslint-plugin-react-hooks --dev\n```\n\nThen add it to your ESLint configuration:\n\n```js\n{\n  \"plugins\": [\n    // ...\n    \"react-hooks\"\n  ],\n  \"rules\": {\n    // ...\n    \"react-hooks/rules-of-hooks\": \"error\",\n    \"react-hooks/exhaustive-deps\": \"warn\"\n  }\n}\n```\n\nOr use the recommended config:\n\n```js\n{\n  \"extends\": [\n    // ...\n    \"plugin:react-hooks/recommended\"\n  ]\n}\n```\n\n## Valid and Invalid Examples\n\nPlease refer to the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) documentation and the [Hooks FAQ](https://reactjs.org/docs/hooks-faq.html#what-exactly-do-the-lint-rules-enforce) to learn more about this rule.\n\nFor feedback about the `exhaustive-deps` rule, please post in [this thread](https://github.com/facebook/react/issues/14920).\n\n## License\n\nMIT\n","engines":{"node":">=7"},"_npmUser":{"name":"acdlite","email":"npm@andrewclark.io"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/eslint-plugin-react-hooks"},"_npmVersion":"6.4.1","description":"ESLint rules for React Hooks","directories":{},"_nodeVersion":"10.14.2","_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"eslint":"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-react-hooks_0.0.0-d7382b6c4_1585594815110_0.0793925662356385","host":"s3://npm-registry-packages"},"publish_time":1585594815229,"_cnpm_publish_time":1585594815229,"dist-tags":{"beta":"5.1.0-beta-26f2496093-20240514","canary":"7.1.1-canary-edae846a-20261125","experimental":"0.0.0-experimental-edae846a-20261125","latest":"7.1.1","next":"7.1.1-canary-d5736f09-20260507","rc":"6.0.0-rc.2"}}