{"_id":"@arrowsw/eslint-config","name":"@arrowsw/eslint-config","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@arrowsw/eslint-config","version":"1.0.0","description":"Shared ESLint + TypeScript config by @arrowsw for Node, React and Next.js","main":"index.js","exports":{".":"./index.js","./next":"./variants/next.js","./react":"./variants/react.js"},"peerDependencies":{"eslint":"^8.0.0","prettier":"^3.0.0","eslint-plugin-prettier":"^5.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","eslint-plugin-react":"^7.0.0","eslint-plugin-react-hooks":"^4.0.0","@next/eslint-plugin-next":"^13.0.0"},"keywords":["eslint","typescript","nextjs","eslint-config","arrowsw"],"author":{"name":"arrowsw"},"license":"MIT","_id":"@arrowsw/eslint-config@1.0.0","_nodeVersion":"22.11.0","_npmVersion":"10.9.1","dist":{"integrity":"sha512-GXLCSXR3FXNgtKssJ/9UcsguKbq/qzwZaSaV+Idxk2lYf/rjuKhqwj7pQbnHFnkqMi/jf91AcbIhoigIP8Ycog==","shasum":"43a4462c4903dca7d85f0477fe793eae0e30b4a0","tarball":"https://registry.npmjs.org/@arrowsw/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":5,"unpackedSize":4221,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAIsQgm3diDIUr4ZtAslNMB2bpayzVThaeVJ5bLeKespAiASXp71uuNSoHrR5eAE/Il1VaUaaVRz6k46ZuS5rx191Q=="}]},"_npmUser":{"name":"hansfpc","email":"hansfpc@outlook.com","actor":{"name":"hansfpc","email":"hansfpc@outlook.com","type":"user"}},"directories":{},"maintainers":[{"name":"hansfpc","email":"hansfpc@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_1.0.0_1751299498683_0.8911788803303613"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-30T16:04:58.593Z","1.0.0":"2025-06-30T16:04:58.848Z","modified":"2025-06-30T16:04:59.164Z"},"maintainers":[{"name":"hansfpc","email":"hansfpc@outlook.com"}],"description":"Shared ESLint + TypeScript config by @arrowsw for Node, React and Next.js","keywords":["eslint","typescript","nextjs","eslint-config","arrowsw"],"author":{"name":"arrowsw"},"license":"MIT","readme":"# @arrowsw/eslint-config\n\nShared ESLint + TypeScript configuration for Node.js, React, and Next.js projects, maintained by @arrowsw.\n\n## Installation\n\nCopy and paste the appropriate command for your use case:\n\n#### Node.js (base)\n\n```bash\nnpm install --save-dev @arrowsw/eslint-config eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import\n```\n\n#### React\n\n```bash\nnpm install --save-dev @arrowsw/eslint-config eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y\n```\n\n#### Next.js\n\n```bash\nnpm install --save-dev @arrowsw/eslint-config eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y eslint-config-next\n```\n\n## Usage\n\nExtend the configuration in your project's `.eslintrc` file.\n\n### Node.js Projects\n\n```json\n{\n    \"extends\": \"@arrowsw/eslint-config/node\"\n}\n```\n\n### React Projects\n\n```json\n{\n    \"extends\": \"@arrowsw/eslint-config/react\"\n}\n```\n\n### Next.js Projects\n\n```json\n{\n    \"extends\": \"@arrowsw/eslint-config/next\"\n}\n```\n\n## Variants\n\n- **@arrowsw/eslint-config/node**: For Node.js and TypeScript backend projects.\n- **@arrowsw/eslint-config/react**: For React (frontend) projects using TypeScript.\n- **@arrowsw/eslint-config/next**: For Next.js projects.\n\n## Example\n\nAfter configuring `.eslintrc`, you can lint your code with:\n\n```bash\nnpx eslint .\n```\n\n## License\n\nMIT\n\n","readmeFilename":"README.md","_rev":"1-6f209d7c21edb255cccab3864c1e381d"}