{"_id":"@dyrkow/eslint-config-react","name":"@dyrkow/eslint-config-react","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"@dyrkow/eslint-config-react","version":"1.1.0","description":"React eslint configuration","main":"index.js","dependencies":{"eslint-plugin-react":"^7.33.0","eslint-plugin-react-hooks":"^5.0.0"},"peerDependencies":{"@dyrkow/eslint-config":"^1.1.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dyrkow/lint.git"},"author":{"name":"dyrkow","email":"webworkdeveloper@gmail.com","url":"dyrkow.ru"},"keywords":["react","config","eslint","dyrkow"],"_id":"@dyrkow/eslint-config-react@1.1.0","gitHead":"3980228d40531fba4e98987899deea04c3b0e042","bugs":{"url":"https://github.com/dyrkow/lint/issues"},"homepage":"https://github.com/dyrkow/lint#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-/EOj8LDciAWi07lZSLwlqug46hHhHYX1F73YNaPLPfJMj/J9FSqm5ztnlJ/CMytLNsEat3LdUi1LSG+xupJZzQ==","shasum":"f8afca3635363e4a69762b5b9f822539daaf3809","tarball":"https://registry.npmjs.org/@dyrkow/eslint-config-react/-/eslint-config-react-1.1.0.tgz","fileCount":4,"unpackedSize":4866,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCdhOUWN9IV8Rq7tQayZful68zJJwPnW707+O+cr1U3vgIgWiFRmFi8WQZ+k11N0K4WB3IsIgiAEOqiGpPDqOlsS4A="}]},"_npmUser":{"name":"webworkdeveloper","email":"webworkdeveloper@gmail.com"},"directories":{},"maintainers":[{"name":"webworkdeveloper","email":"webworkdeveloper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-react_1.1.0_1771534996887_0.5772311426696155"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-19T21:03:16.789Z","1.1.0":"2026-02-19T21:03:17.031Z","modified":"2026-02-19T21:03:17.208Z"},"maintainers":[{"name":"webworkdeveloper","email":"webworkdeveloper@gmail.com"}],"description":"React eslint configuration","homepage":"https://github.com/dyrkow/lint#readme","keywords":["react","config","eslint","dyrkow"],"repository":{"type":"git","url":"git+https://github.com/dyrkow/lint.git"},"author":{"name":"dyrkow","email":"webworkdeveloper@gmail.com","url":"dyrkow.ru"},"bugs":{"url":"https://github.com/dyrkow/lint/issues"},"license":"MIT","readme":"# @dyrkow/eslint-config-react\n\nESLint config for React: `eslint-plugin-react`, `eslint-plugin-react-hooks`, JSX rules. Prettier-compatible (extends `eslint-config-prettier`).\n\n## Installation\n\nInstall the base config and this package. The base is required (peerDependency) and must be listed first in `extends`. You do not need to install eslint or plugins separately — they come from the base.\n\n```bash\npnpm add -D @dyrkow/eslint-config @dyrkow/eslint-config-react\n# or: yarn add @dyrkow/eslint-config @dyrkow/eslint-config-react -D\n# or: npm i -D @dyrkow/eslint-config @dyrkow/eslint-config-react\n```\n\n## Configuration\n\nAdd to `.eslintrc.json` and extend **after** the base config. Use this order so formatting is handled by Prettier and conflicts are avoided:\n\n1. `@dyrkow/eslint-config` (base, always first)\n2. `@dyrkow/eslint-config-typescript` (if using TypeScript)\n3. `@dyrkow/eslint-config-react` (if using React)\n4. `@dyrkow/eslint-config-react-native` (if using React Native)\n\nExample for React only:\n\n```json\n{\n    \"extends\": [\n        \"@dyrkow/eslint-config\",\n        \"@dyrkow/eslint-config-react\"\n    ]\n}\n```\n\nExample for TypeScript + React:\n\n```json\n{\n    \"extends\": [\n        \"@dyrkow/eslint-config\",\n        \"@dyrkow/eslint-config-typescript\",\n        \"@dyrkow/eslint-config-react\"\n    ]\n}\n```\n\nExample for TypeScript + React + React Native:\n\n```json\n{\n    \"extends\": [\n        \"@dyrkow/eslint-config\",\n        \"@dyrkow/eslint-config-typescript\",\n        \"@dyrkow/eslint-config-react\",\n        \"@dyrkow/eslint-config-react-native\"\n    ]\n}\n```\n","readmeFilename":"README.md","_rev":"1-e295e93e198ad6b25802bc35685725f6"}