{"_id":"@dyrkow/eslint-config-react-native","name":"@dyrkow/eslint-config-react-native","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dyrkow/eslint-config-react-native","version":"1.0.0","description":"ESLint config for React Native (globals + eslint-plugin-react-native rules)","main":"index.js","dependencies":{"eslint-plugin-react-native":"^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":["config","eslint","react-native","dyrkow"],"_id":"@dyrkow/eslint-config-react-native@1.0.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-UkC6NH+LESmw21RvzLkGWt8l2HGcIeGDG1in2+ZFkP67wV/q6VRcqt6Q2rruNBdin+jpaKsbWYrRPiu+bDeROA==","shasum":"22f71af5b56983921d33d9decfd2d238114cb33a","tarball":"https://registry.npmjs.org/@dyrkow/eslint-config-react-native/-/eslint-config-react-native-1.0.0.tgz","fileCount":3,"unpackedSize":2739,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHipKOZghrLASYdQyDiiViTB4uTCb+syC21O6IntAFAsAiBp5c3lg+M7t/tfnwvAMEkGvfXCcuUaG/DIoBYPKubd7w=="}]},"_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-native_1.0.0_1771535016043_0.7434923369338995"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-19T21:03:35.958Z","1.0.0":"2026-02-19T21:03:36.180Z","modified":"2026-02-19T21:03:36.745Z"},"maintainers":[{"name":"webworkdeveloper","email":"webworkdeveloper@gmail.com"}],"description":"ESLint config for React Native (globals + eslint-plugin-react-native rules)","homepage":"https://github.com/dyrkow/lint#readme","keywords":["config","eslint","react-native","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-native\n\nESLint config for React Native: globals (`__DEV__`, etc.) and rules from `eslint-plugin-react-native`.\n\n## Installation\n\nInstall the base config and this package (and @dyrkow/eslint-config-typescript if needed). List the base explicitly in your dependencies. 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-native\n# or with TypeScript: pnpm add -D @dyrkow/eslint-config @dyrkow/eslint-config-typescript @dyrkow/eslint-config-react-native\n```\n\n## Configuration\n\nUse after base and React config. Add to `.eslintrc.json`:\n\n```json\n{\n    \"extends\": [\n        \"@dyrkow/eslint-config\",\n        \"@dyrkow/eslint-config-react\",\n        \"@dyrkow/eslint-config-react-native\"\n    ]\n}\n```\n\nWith TypeScript:\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\n## What it adds\n\n- **Env:** `react-native/react-native` (RN globals), `browser: false`\n- **Rules:** `no-unused-styles`, `split-platform-components`, `no-inline-styles`, `no-color-literals`, `no-raw-text`, `no-single-element-style-arrays` (see plan for severity). In test files, `no-inline-styles` is turned off.\n","readmeFilename":"README.md","_rev":"1-d723e96207a0c4855a54ae61c0efbfe4"}