{"_id":"@appshack/react-native-eslint","_rev":"3-0020c0a4e5348cd81ccd6eb09adbde0a","name":"@appshack/react-native-eslint","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@appshack/react-native-eslint","version":"0.0.3","keywords":["eslint","react-native","typescript","linting","config","javascript"],"author":{"name":"App Shack"},"license":"MIT","_id":"@appshack/react-native-eslint@0.0.3","maintainers":[{"name":"app-shack","email":"pontus.andersson@appshack.se"},{"name":"martinagnalv","email":"martin.agnalv@appshack.se"}],"homepage":"https://github.com/app-shack/react-native-eslint#readme","bugs":{"url":"https://github.com/app-shack/react-native-eslint/issues"},"dist":{"shasum":"c9d62f95e4cd89de7ac0e4d490100b4afac4d232","tarball":"https://registry.npmjs.org/@appshack/react-native-eslint/-/react-native-eslint-0.0.3.tgz","fileCount":4,"integrity":"sha512-A8cM7Jb1dCoE0YT96DDD6k7WrhuYWTcUxrNqeLP9h30yO/vr58QzJ3hv/nK55ax7dM+Gt/+BpBFX8ogitlAHZw==","signatures":[{"sig":"MEYCIQC6Ym17NJca9O8FD5TEfriI2LAzPtfHKfucutX42cP1twIhAJYuJhPJzBudpkK6IQjf//j/4iolJw7f4T4dvzXiRvBY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12587},"main":"eslint.config.mjs","type":"module","engines":{"node":">=18.0.0"},"gitHead":"7ca0e74d75500383fb31f6f5facd0963c0771a01","scripts":{"publish":"yarn npm publish"},"_npmUser":{"name":"martinagnalv","email":"martin.agnalv@appshack.se"},"repository":{"url":"git+https://github.com/app-shack/react-native-eslint.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive ESLint configuration for React Native projects with TypeScript support","directories":{},"_nodeVersion":"20.19.2","dependencies":{"eslint":"9.27.0","typescript":"5.8.3","@eslint/compat":"1.2.9","typescript-eslint":"8.32.1","eslint-config-expo":"9.2.0","eslint-plugin-jest":"28.11.0","eslint-plugin-promise":"7.2.1","@stylistic/eslint-plugin":"4.2.0","eslint-plugin-react-native":"5.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","_npmOperationalInternal":{"tmp":"tmp/react-native-eslint_0.0.3_1756367233982_0.7689420482094009","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-08-28T07:47:13.900Z","modified":"2025-12-11T11:22:52.864Z","0.0.3":"2025-08-28T07:47:14.159Z"},"bugs":{"url":"https://github.com/app-shack/react-native-eslint/issues"},"author":{"name":"App Shack"},"license":"MIT","homepage":"https://github.com/app-shack/react-native-eslint#readme","keywords":["eslint","react-native","typescript","linting","config","javascript"],"repository":{"url":"git+https://github.com/app-shack/react-native-eslint.git","type":"git"},"description":"A comprehensive ESLint configuration for React Native projects with TypeScript support","maintainers":[{"email":"simon.berglund@noaignite.com","name":"sibe7691"},{"email":"pontus.andersson@appshack.se","name":"app-shack"},{"email":"martin.agnalv@appshack.se","name":"martinagnalv"},{"email":"maeertin@gmail.com","name":"maeertin"}],"readme":"# @app-shack/react-native-eslint\n\nA comprehensive ESLint configuration for React Native projects with TypeScript support. This package provides a well-tested, opinionated set of ESLint rules specifically tailored for React Native development.\n\n## Features\n\n- 🚀 React Native optimized rules\n- 📱 TypeScript support with strict type checking\n- ⚡ ESLint 9 flat config format\n- 🎯 Jest testing rules included\n- 🎨 Stylistic rules for consistent code formatting\n- 🔧 Promise-based async/await best practices\n- 🛡️ Security-focused React rules\n\n## Installation\n\n```bash\nnpm install --save-dev @app-shack/react-native-eslint\n```\n\nOr with yarn:\n\n```bash\nyarn add --dev @app-shack/react-native-eslint\n```\n\n## Usage\n\nCreate an `eslint.config.mjs` file in your project root:\n\n```javascript\nimport reactNativeConfig from '@app-shack/react-native-eslint'\n\nexport default reactNativeConfig\n```\n\nOr extend it with additional configuration:\n\n```javascript\nimport reactNativeConfig from '@app-shack/react-native-eslint'\n\nexport default [\n  ...reactNativeConfig,\n  {\n    // Your custom rules here\n    rules: {\n      // Override or add rules\n      'no-console': 'warn'\n    }\n  }\n]\n```\n\n## What's Included\n\nThis configuration includes rules for:\n\n- **JavaScript/TypeScript**: Core language rules and TypeScript-specific linting\n- **React**: React best practices and hooks rules  \n- **React Native**: Platform-specific rules for React Native development\n- **Jest**: Testing rules and best practices\n- **Promises**: Async/await and Promise handling\n- **Stylistic**: Code formatting and style consistency\n\n## Scripts\n\nAdd these scripts to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n## Requirements\n\n- Node.js >= 18.0.0\n- ESLint >= 9.0.0\n- TypeScript project\n\n## License\n\nMIT © [App Shack](https://github.com/app-shack)\n\n## Contributing\n\nIssues and pull requests are welcome! Please check the [issues page](https://github.com/app-shack/react-native-eslint/issues) before contributing.\n\n---\n\n## Publishing Notes\n\nTo publish this package, you need to set up an NPM auth token:\n\n```sh\necho 'export NPM_AUTH_TOKEN=<YOUR_TOKEN>' >> ~/.zshrc\nsource ~/.zshrc\n\n# or for bash\necho 'export NPM_AUTH_TOKEN=<YOUR_TOKEN>' >> ~/.bashrc\nsource ~/.bashrc\n```","readmeFilename":"README.md"}