{"_id":"eslint-plugin-react-server-components","_rev":"5-8cabd9b5bec77bf36616d6df08b3e41b","name":"eslint-plugin-react-server-components","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"eslint-plugin-react-server-components","version":"1.0.0","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"packageManager":"pnpm@8.6.0","dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.0.0","_integrity":"sha512-bKdQdOO7EdkaZJxyoRpSQZ/iTq0XsYVkTsWJ9OteWm7IuyebAq/Bd7SSTGvFFSGLPws8EGVIscdBI6obT7sJfw==","_resolved":"/home/runner/work/eslint-plugin-react-server-components/eslint-plugin-react-server-components/eslint-plugin-react-server-components-1.0.0.tgz","_from":"file:eslint-plugin-react-server-components-1.0.0.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-bKdQdOO7EdkaZJxyoRpSQZ/iTq0XsYVkTsWJ9OteWm7IuyebAq/Bd7SSTGvFFSGLPws8EGVIscdBI6obT7sJfw==","shasum":"8de8fc4962ca093822e3faa7b72ec5cb5cf6ff96","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.0.0.tgz","fileCount":13,"unpackedSize":46417,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgZ124E39F93IOrQOhEaj3j+07N4TkHJrJ+ALWLmbtnwIgOgcd9BeRGxxvXLu45nZ6kft/pcbKm4pbZ59te1peY8k="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.0.0_1688071220664_0.30257262595350554"},"_hasShrinkwrap":false},"1.0.1":{"name":"eslint-plugin-react-server-components","version":"1.0.1","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"packageManager":"pnpm@8.6.0","dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.0.1","_integrity":"sha512-aWJTt8kE67K3O+QWJTi/mbWdDKrYeyCqBgv/VhPnCmCt7pi8VkHlcFE0LTmZti59EpTrRw8rMPYJUmTOeMqlBQ==","_resolved":"/home/runner/work/eslint-plugin-react-server-components/eslint-plugin-react-server-components/eslint-plugin-react-server-components-1.0.1.tgz","_from":"file:eslint-plugin-react-server-components-1.0.1.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-aWJTt8kE67K3O+QWJTi/mbWdDKrYeyCqBgv/VhPnCmCt7pi8VkHlcFE0LTmZti59EpTrRw8rMPYJUmTOeMqlBQ==","shasum":"9f34eac36c5642350263960c9b1a98596cc1723e","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.0.1.tgz","fileCount":13,"unpackedSize":46935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/cYo9wTtXnO5SCi8DqQID35iv6+r+fGVTHuQqN8EXugIgevYMaoK/MfkL+GVICvANiKWQlUt0MlDppIvTb72Nz8A="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.0.1_1688157466214_0.8120308156193614"},"_hasShrinkwrap":false},"1.1.0":{"name":"eslint-plugin-react-server-components","version":"1.1.0","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"packageManager":"pnpm@8.6.0","dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.1.0","_integrity":"sha512-n1hU61jVWFgp9nBVhPmTneGwcsV9HfbNOxaOVZjCDX3MXXmbpEr5zIww5y/jYl97j3aHiCQDZsmwXy3xeEA0WA==","_resolved":"/home/runner/work/eslint-plugin-react-server-components/eslint-plugin-react-server-components/eslint-plugin-react-server-components-1.1.0.tgz","_from":"file:eslint-plugin-react-server-components-1.1.0.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-n1hU61jVWFgp9nBVhPmTneGwcsV9HfbNOxaOVZjCDX3MXXmbpEr5zIww5y/jYl97j3aHiCQDZsmwXy3xeEA0WA==","shasum":"bfea49115a8b95e088028417fac55981631bcc64","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.1.0.tgz","fileCount":13,"unpackedSize":48453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0pozxcN0t3DGUuV/7rsuRMfFiy7pNLdpZbFypi7CE+AiB+5hR3MA8inNccx444mTV3iEMdjvBwC2BkPA0Q96jYdg=="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.1.0_1688160924931_0.5022833400271187"},"_hasShrinkwrap":false},"1.1.1":{"name":"eslint-plugin-react-server-components","version":"1.1.1","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"packageManager":"pnpm@8.6.0","dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.1.1","_integrity":"sha512-oL8d1mzvUgm6ezwKie0hQvXAgjx5II8e2vzt9vcp6Ygn+LXyg3KXdVTpQu6bsJomblbRBVLJCIFDSKr420+wmA==","_resolved":"/home/runner/work/eslint-plugin-react-server-components/eslint-plugin-react-server-components/eslint-plugin-react-server-components-1.1.1.tgz","_from":"file:eslint-plugin-react-server-components-1.1.1.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-oL8d1mzvUgm6ezwKie0hQvXAgjx5II8e2vzt9vcp6Ygn+LXyg3KXdVTpQu6bsJomblbRBVLJCIFDSKr420+wmA==","shasum":"0de686653cb00229adb65f07ca700300c5235bcb","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.1.1.tgz","fileCount":9,"unpackedSize":47200,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSaMev9k+fXWMbQKgh/nJzo7TBkD4JByFvIKo1cs/6iAiAU/cZTwEHr3HjiumcGs30sCASs+grQE9KHi6ujNC46WQ=="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.1.1_1691784078623_0.7236573199911349"},"_hasShrinkwrap":false},"1.1.2":{"name":"eslint-plugin-react-server-components","version":"1.1.2","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"packageManager":"pnpm@8.6.0","dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.1.2","_integrity":"sha512-t3hEE7V7YxeWBkC2hL/GUBBCZ9xa6leo4SzAudlt6ZUSBQkK8UeSziLKnhyuK+GI7KSTp6j+CaGJ/RggJQNrYg==","_resolved":"/home/runner/work/eslint-plugin-react-server-components/eslint-plugin-react-server-components/eslint-plugin-react-server-components-1.1.2.tgz","_from":"file:eslint-plugin-react-server-components-1.1.2.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-t3hEE7V7YxeWBkC2hL/GUBBCZ9xa6leo4SzAudlt6ZUSBQkK8UeSziLKnhyuK+GI7KSTp6j+CaGJ/RggJQNrYg==","shasum":"6e699c7a199a0b69575436b62e9321d549d22670","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.1.2.tgz","fileCount":9,"unpackedSize":47949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4oaLH0956kHve4bmnRCGmAeo5/AMg60sx4CsxcSpOuAiBytMhwfK8v6meQ+gxfQ9tojAF6OUFtr4+gZOi1c7bMgQ=="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.1.2_1707972046362_0.6891711648468124"},"_hasShrinkwrap":false},"1.2.0":{"name":"eslint-plugin-react-server-components","version":"1.2.0","description":"Rules for React server components","type":"module","exports":{"require":"./dist/index.cjs","import":"./dist/index.js"},"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"keywords":["eslint-plugin","eslint","react","next.js"],"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"license":"MIT","bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","devDependencies":{"@changesets/cli":"^2.26.2","@types/eslint":"^8.21.1","@types/estree":"^1.0.0","@types/estree-jsx":"^1.0.0","@types/jest":"^29.5.2","eslint":"^8.35.0","jest":"^29.5.0","prettier":"^2.8.4","ts-jest":"^29.1.0","tsup":"^6.6.3","typescript":"^4.9.5"},"dependencies":{"eslint-plugin-react":"^7.32.2","globals":"^13.20.0"},"publishConfig":{"access":"public"},"scripts":{"test":"jest","build":"tsup","lint":"tsc","version":"changeset version && pnpm install --lockfile-only","release":"pnpm build && changeset publish"},"_id":"eslint-plugin-react-server-components@1.2.0","_integrity":"sha512-CWmmscSbTyCFE7z7ow4y1X7wZnhEOdMfr1jkELYS/Y5cUo2vXHsTOAZNZu6stRL6+frxd8j2jEXcYz4gthJSog==","_resolved":"/tmp/773251193818f11c5c97187837466771/eslint-plugin-react-server-components-1.2.0.tgz","_from":"file:eslint-plugin-react-server-components-1.2.0.tgz","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-CWmmscSbTyCFE7z7ow4y1X7wZnhEOdMfr1jkELYS/Y5cUo2vXHsTOAZNZu6stRL6+frxd8j2jEXcYz4gthJSog==","shasum":"141ba1c9811c3c899ca886c0cd17891171a46de9","tarball":"https://registry.npmjs.org/eslint-plugin-react-server-components/-/eslint-plugin-react-server-components-1.2.0.tgz","fileCount":9,"unpackedSize":49299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXxeXXRWrxE6ReBOVBQ6B2ZRJ5rj+OoCkDA1A/uGHdUAiEAoeOnA8/EW16GA2SW4z50oWL3qPUzAFghvpVSkkIOKuQ="}]},"_npmUser":{"name":"roginfarrer","email":"rogin@roginfarrer.com"},"directories":{},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-server-components_1.2.0_1716753915267_0.2534396195514663"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-29T20:40:20.601Z","1.0.0":"2023-06-29T20:40:20.843Z","modified":"2024-05-26T20:05:15.575Z","1.0.1":"2023-06-30T20:37:46.349Z","1.1.0":"2023-06-30T21:35:25.145Z","1.1.1":"2023-08-11T20:01:18.850Z","1.1.2":"2024-02-15T04:40:46.552Z","1.2.0":"2024-05-26T20:05:15.410Z"},"maintainers":[{"name":"roginfarrer","email":"rogin@roginfarrer.com"}],"description":"Rules for React server components","homepage":"https://github.com/roginfarrer/eslint-plugin-react-server-components#readme","keywords":["eslint-plugin","eslint","react","next.js"],"repository":{"type":"git","url":"git+https://github.com/roginfarrer/eslint-plugin-react-client-components.git"},"author":{"name":"Rogin Farrer","email":"rogin@roginfarrer.com"},"bugs":{"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components/issues"},"license":"MIT","readme":"# eslint-plugin-react-server-components\n\nExperiment in making an ESLint rule for enforcing `\"use client\"` in client components (and warning if it's not needed).\n\n## Installation\n\n```bash\nnpm install --save-dev eslint-plugin-react-server-components\n```\n\n## Configuration\n\nTo use the recommended configuration:\n\n```json5\n// eslintrc.json\n{\n  extends: [\"plugin:react-server-components/recommended\"],\n}\n```\n\n## Rules\n\n### `use-client`\n\n> Enforce components are appropriately prefixed with `'use client'.`\n\n```json\n{\n  \"rules\": {\n    \"react-server-components/use-client\": \"error\"\n  }\n}\n```\n","readmeFilename":"readme.md"}