{"_id":"@belsrc/eslint-config-react","_rev":"2-b226e52aa6fab85b2b991e2dc8651ea3","name":"@belsrc/eslint-config-react","dist-tags":{"latest":"2.1.1"},"versions":{"2.1.0":{"name":"@belsrc/eslint-config-react","version":"2.1.0","description":"ESLint config for React","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"bryan@bryanckizer.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/belsrc/eslint-config-belsrc.git","directory":"packages/react"},"bugs":{"url":"https://github.com/belsrc/eslint-config-belsrc/issues"},"homepage":"https://github.com/belsrc/eslint-config-belsrc#readme","license":"MIT","peerDependencies":{"babel-eslint":">=10.0.0","eslint":">= 6.6.0","prettier":">=1.19.0"},"dependencies":{"eslint-plugin-fp-jxl":"^3.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.7.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.3.0","eslint-plugin-simple-import-sort":"^5.0.1"},"gitHead":"6a00abe38fd8af5b9f90bad8b6178ef405eac5c1","_id":"@belsrc/eslint-config-react@2.1.0","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.20.2/node@v10.16.3+x64 (win32)","dist":{"integrity":"sha512-UeHnwLLArz8DjoihuLkjPICARQLM4jgqy0ARG9DfRWaRNyG5eMRsH2SS2J8GWxSiIipsYGPG6YNgHJ0JQDeKSA==","shasum":"047d0c611c2c71d71b0a36c7b245417d96209230","tarball":"https://registry.npmjs.org/@belsrc/eslint-config-react/-/eslint-config-react-2.1.0.tgz","fileCount":8,"unpackedSize":18687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQNozCRA9TVsSAnZWagAAhtYP/2MHi4c1jyXPwx19WeXZ\nWsXR6OQ0c3Q3XmH7SyWI2m6dzsTBwhrkLjlZl6jxS2GwNSVhLqFuhsdXJ4Hn\nHlvApfhDrwLZNY429/Xqtv8o4vZY8TcCilrjRv1OSjEmwb/I6kyILIVyvDFo\nLzGWC6dhcVhmvIdu4bBYY/oFVSJQdYT1whp0p1AY9/QrZjVigqnhT75O16Di\nuQYfPNrzMGqx18a9NQh/ocj1ya6J4IfWfhaP0RG1oF94t15fiq73ds4sk6Km\nWazEU8tj9t6WdIVHkEghOix/MlbO1xWuYtoRUhWtS2DQ77XiZ0aW9St2PWsb\nGg7XYeopaFyRHZmZpVJO3PA3zEF3BNTUXOsJ6Q89BIVWhYnLigevIQRylIj2\nRbmlzblCXAqv4CmCqpmZM6FxpR5Z0ZtCGwR2+VrAMRuAae1IZTWZ6R6iuX2v\nVVg8g64vBfjkxvKcP1VtpeFOXrNSSDqh95lw+W7p5shwHQR23GVMyIMJPVg/\nYGFZQkmpPVGTtkGR7tmkUV+NKag0e1+SjkCBwM+9U066gMbVodS54ztDhvfB\n2gdZEF5p2//mpbYr5zdCWijQOlFjfLDGK3EUAvSP2QrXNK8+1U4RlqLWHIyt\nSlHwhxyunKOPcMeVu7uB6wVHNgImSB9TEhltMlfW1018fQQh82twBqjVmzG9\nFo9D\r\n=NA7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgH7N3fP3pTr7kvipiuN3vlNUlGkn91NKBFSUZTFKFswIgYm/8EVwTCJ93OVPVR1xsv8qH3u1IOvrlMzsyFy1uf0A="}]},"maintainers":[{"name":"belsrc","email":"bryan@bryanckizer.com"}],"_npmUser":{"name":"belsrc","email":"bryan@bryanckizer.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-react_2.1.0_1581308467108_0.9823068758623033"},"_hasShrinkwrap":false},"2.1.1":{"name":"@belsrc/eslint-config-react","version":"2.1.1","description":"ESLint config for React","publishConfig":{"access":"public"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"bryan@bryanckizer.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/belsrc/eslint-config-belsrc.git","directory":"packages/react"},"bugs":{"url":"https://github.com/belsrc/eslint-config-belsrc/issues"},"homepage":"https://github.com/belsrc/eslint-config-belsrc#readme","license":"MIT","peerDependencies":{"babel-eslint":">=10.0.0","eslint":">= 6.6.0","prettier":">=1.19.0"},"dependencies":{"eslint-plugin-fp-jxl":"^3.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jest":"^23.7.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.3.0","eslint-plugin-simple-import-sort":"^5.0.1"},"gitHead":"2466323b60ef5ec98b40fda398c75b1b0523df54","_id":"@belsrc/eslint-config-react@2.1.1","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.20.2/node@v10.16.3+x64 (win32)","dist":{"integrity":"sha512-sebczpkQ7jQncys2mV3c4c145TEHOwjYjliPO5NZGphFoxa9kpT4SEkmTWY9sR5MCr7nQZ7VYcqxgavdyZPZGA==","shasum":"408d45ff18a67476615fd7595a47d4e53068d103","tarball":"https://registry.npmjs.org/@belsrc/eslint-config-react/-/eslint-config-react-2.1.1.tgz","fileCount":8,"unpackedSize":18805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQN93CRA9TVsSAnZWagAAhp0P/RXJ9lKKWS3xqxOVWCwj\nrVlfSaeYeAxnKKXZE3OPXXjqcYtnkJdzQ07SuGqsuj7gKErCZ810bHDppS/8\nizdiqWod9GUEzP77qsDJP8QSeUWXeA/GYQXCwf6Yz1G/7L1I+SQ8UFiGGOSo\ngDIhD5CZax52hvkEnlftAXzPKbNePlALJ1Gh4jYFSVaeGBdTfMmWYOuSpQjq\ntiWqML/bihaQGOvczzqHynGndU0zVBexUkUb37EOPaODU0E7iRAlSmjyafuj\nntmn9HvYtLWRcv+NYwU19YFXg0xcd3IXyjMd66/RU0IzU76ZOV0TxMr7wevY\nsSMijQ8i68b1itLCQLGTMO6vzEGK/7xu1jQJ68CFfD1yWwMtO6e/0g1xb0ht\nm0p20JHpEEgZ1guzKYfwUiWudDx4otDhu8aS++ELJhLXtn6Bwveog3xuNBB0\nWaP1pONs7a5ljpwGor8g0KDafYt2p1siPJzs9jvHrYh3h8a1cfE7DKL0KQie\nXKIEQ3aIu9mR3rJa1y56PxoEVwG97W0+OKtNFXoeMceFGBaFdQayrvBz9xIm\nNB2CoPvr4AL7GzwFMNY9zrQrcqT7Ukr1+Nhnqjn7DLC1vzsNerjrXDlwqTho\n0lEhn/VAm6Jl1psZwduEJ8HAlSKqflS0WKjNxPsySbsd3bFLMWc+Ea0rZZFK\nHlYb\r\n=h/iW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZa0s16pADpdUYp4c4YJQVg30nPy9o2kSLup2PtV33uwIhAOZGbu694lICMccOrAtEdk/YC1dbGYYZ7vN+V/xr+SYv"}]},"maintainers":[{"name":"belsrc","email":"bryan@bryanckizer.com"}],"_npmUser":{"name":"belsrc","email":"bryan@bryanckizer.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-react_2.1.1_1581309815190_0.285523040357182"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T04:21:07.079Z","2.1.0":"2020-02-10T04:21:07.229Z","modified":"2022-04-04T18:20:41.587Z","2.1.1":"2020-02-10T04:43:35.292Z"},"maintainers":[{"name":"belsrc","email":"bryan@bryanckizer.com"}],"description":"ESLint config for React","homepage":"https://github.com/belsrc/eslint-config-belsrc#readme","repository":{"type":"git","url":"git+ssh://git@github.com/belsrc/eslint-config-belsrc.git","directory":"packages/react"},"author":{"name":"bryan@bryanckizer.com"},"bugs":{"url":"https://github.com/belsrc/eslint-config-belsrc/issues"},"license":"MIT","readme":"# @belsrc/eslint-config-react\r\n\r\nAn opinionated collection of ESLint plugin configs I use in other projects.\r\n\r\n_(Part of [eslint-config-belsrc](https://github.com/belsrc/eslint-config-belsrc/blob/master/README.md) mono repo)_\r\n\r\n* eslint-plugin-fp-jxl\r\n* eslint-plugin-import\r\n* eslint-plugin-jsx-a11y\r\n* eslint-plugin-promise\r\n* eslint-plugin-react\r\n* eslint-plugin-react-hooks\r\n* eslint-plugin-simple-import-sort\r\n\r\n## Install\r\n\r\n```bash\r\nnpm i -D @belsrc/eslint-config-react\r\n```\r\n\r\n## Use\r\n\r\n```js\r\n// .eslintrc.js\r\nmodule.exports = {\r\n  extends: ['@belsrc/eslint-config-react'],\r\n};\r\n```\r\n\r\nThe package also contains a usable prettier config.\r\n\r\n```js\r\n// .prettierrc.js\r\nconst config = require('@belsrc/eslint-config-react/.prettierrc');\r\n\r\nmodule.exports = config;\r\n```\r\n\r\n## TODO\r\n\r\n* add `eslint-plugin-jest`\r\n* add `eslint-plugin-security` (is it maintained enough to use?)\r\n\r\n### Peer Dependencies\r\n\r\n* eslint: `>= 6.6.0`\r\n* prettier: `>=1.19.0`\r\n* babel-eslint: `>=10.0.0`\r\n","readmeFilename":"README.md"}