{"name":"eslint-plugin-react-hooks","version":"0.0.0-235a6c4af","keywords":["eslint","eslint-plugin","eslintplugin","react"],"license":"MIT","_id":"eslint-plugin-react-hooks@0.0.0-235a6c4af","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":"91a1812cd13aeef62cca9b514a198049731f5346","tarball":"http://registry-npm.ywwl.com/eslint-plugin-react-hooks/download/eslint-plugin-react-hooks-0.0.0-235a6c4af.tgz","fileCount":7,"integrity":"sha512-5YygwKl0HgxdJIKeTBvAuilzqcWS9Hc/5YqYYRJuf68yLmOtLoODh0tu+xMsaeTRQDrgOzfHUiMEhGFES4GzTw==","signatures":[{"sig":"MEUCIQDYE6MutWfcRwwogvi57L3Cfcuflvc94Zh66OyEEbYWIwIgJ8vG7pMascTAlGA7KxEEV+r10A2Cj3skT4deSrS8nV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYqUgCRA9TVsSAnZWagAABS0P/0QhSA8SFlZRHokCFZ5P\nWnWWdaudEC4RPFHzIxw2aVafiJStXDHYH+CVPla1zEqb5JnzdTunHYIWlGVC\n2oIAjQc23MJ0bI2ce6NBV3pMtLugXYGF2e4CWTLV1Ja3WDdqweeYgOkx0DW0\ns0UmZmrC219ixqNIum1UsaN46ZT7F4Wg+Zdrq7NpTHoQQrmIDZjMJj3b+1jQ\nNor2eN2oOvKIIYnFROlO7VYxwsQ23kBuEJYAojrTTkW6Jn8B3KjIyVzONowz\nxvyjzzZi8gZxIPiT+r96WswbnuP3KEoukQtslo8rV/Khk8rgqBRMKItNFrM6\n012TLqFC6p5RlIEMiHDygBYAfAeeN274jvK9OasU9UZW6QkwJZmJjMDewPJh\nBzg35A+qE6AMDviG3MSn9792lF0fLW//t/x5mj/eBfiO648viKbS4YHMZlsB\n8iPA8NPM4NQlFA4SnhIt9ZPi6Hl0AtWJNnEeowa5PQGF+IWX9LePKs0o9M7C\nP6aKQltotfX06zAA0e6A+lI76jPYRHh4rb4bRM91/RIPw4jbcnV7EFt+HJ8Y\n7RaEqMxbq2QiMQP3QrAfmg3M+aMvx/sQUJBS9AZNlFm7EnX0E0vExXgNc4IK\nm522SjKGvMvOF4B6M0qdbcKK7EFDm5efZs5l9pyQGFsdlD/h66qNFe2nPcXo\nvNx4\r\n=5CY5\r\n-----END PGP SIGNATURE-----\r\n","size":26891,"noattachment":false,"key":"/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-0.0.0-235a6c4af.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-235a6c4af_1583523103742_0.03847448471440651","host":"s3://npm-registry-packages"},"publish_time":1583523103872,"_cnpm_publish_time":1583523103872,"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"}}