{"_id":"@alexreardon/eslint-plugin-react-hooks","_rev":"1-c7ae6e076265f26b970ecdaa6ecaa664","name":"@alexreardon/eslint-plugin-react-hooks","dist-tags":{"latest":"1.6.0"},"versions":{"1.6.0":{"name":"@alexreardon/eslint-plugin-react-hooks","description":"ESLint rules for React Hooks","version":"1.6.0","repository":{"type":"git","url":"git+https://github.com/facebook/react.git","directory":"packages/eslint-plugin-react-hooks"},"keywords":["eslint","eslint-plugin","eslintplugin","react"],"license":"MIT","bugs":{"url":"https://github.com/facebook/react/issues"},"engines":{"node":">=7"},"homepage":"https://reactjs.org/","peerDependencies":{"eslint":"^3.0.0 || ^4.0.0 || ^5.0.0"},"_id":"@alexreardon/eslint-plugin-react-hooks@1.6.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.3","_npmUser":{"name":"alexreardon","email":"alexreardon@gmail.com"},"dist":{"integrity":"sha512-szNlFALSsdggC8dvDGtsMieDqmZbSReIUhl/8vLQnFeoO59Ufg0i6FLZyb5A3ySMXLX10Hq5REC+2FXS+BW3vA==","shasum":"a19f854481ced014b9d05c08a775c9de1becbb8f","tarball":"https://registry.npmjs.org/@alexreardon/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.6.0.tgz","fileCount":6,"unpackedSize":101563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpoyxCRA9TVsSAnZWagAA4L8P/juhfPka6g6x8cCgYNIY\nqcKJbCeQ3GO6QcDL6qNJ7uzyW54/Gmey/NSBDtTyEgLv91lFQOfCvcXGTzGJ\ngXYyLvyUlcGnCL5zd2OG4NaUYiGMARTXlclOSbiHtK2i8UKFOBj4svYHmDza\nT7rvs4vCfq9xomsn3Y37ImfRUDkgSS53XM4jT78ORXSFEF5kq2fKSiXUpU0c\nD0DuD3OZrjH+Nwd5DpGacEc4XaNoloBnqqOYWAeO0qGeLcnGSVhuehcqxcLg\nux1iZxwGxiuhtKDxWT/I1SopHvvAhPdBPjR5L8Wz/l1qe09nSyi3lyZGAA1T\n5idDdF38WM/Dq3V9UGblnKvOeuLzQh6anNVea3/x9yEJsq6uYw7RrhvGYf3p\nhVv8xcBCxL2RpnxqkvR55ELBWwDTj98f+ZA6gFBjdT36jVyOVBXCj4MIsrf8\niy2336d7RISyIIHO4lMjUuvOLtnQPd0Kj9uZfTJE1GehJJfdfBAmYtVY6nHU\nRdWKAXuLWXzIeEcFpBALgO6gfIAtkO8XRhsCPKpaa6EJBkxelRNDulvkLgTR\nLyuoU6+KbFdFGI2JmNi5vRwqT51D2xdLM6VGPDqDiOEzbbP9gAQPtAFgrgi/\nlHX1omHj7GZvQT/1oQ//+EW3SAODq0lZ+wm01/MTkUxTMpH2DB6Y/kjLuKja\nbaqZ\r\n=4wGH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBM/uo2bnVt/OxRFfZ1oaelUAeyc0X5/hFIsO5XtJbedAiBWKNweTv19zrw/VCyK9yENn4jNZlgaDbM6DX20wTuBHg=="}]},"maintainers":[{"name":"alexreardon","email":"alexreardon@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-hooks_1.6.0_1554418864991_0.7475994599645843"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-04T23:01:04.804Z","1.6.0":"2019-04-04T23:01:05.172Z","modified":"2022-04-04T12:41:31.152Z"},"maintainers":[{"name":"alexreardon","email":"alexreardon@gmail.com"}],"description":"ESLint rules for React Hooks","homepage":"https://reactjs.org/","keywords":["eslint","eslint-plugin","eslintplugin","react"],"repository":{"type":"git","url":"git+https://github.com/facebook/react.git","directory":"packages/eslint-plugin-react-hooks"},"bugs":{"url":"https://github.com/facebook/react/issues"},"license":"MIT","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 wait for a corresponding release of `react-scripts` that includes this rule 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\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","readmeFilename":"README.md"}