{"id":21475912,"url":"https://github.com/roginfarrer/eslint-plugin-react-server-components","last_synced_at":"2025-07-15T10:31:45.008Z","repository":{"id":177412029,"uuid":"608260217","full_name":"roginfarrer/eslint-plugin-react-server-components","owner":"roginfarrer","description":"ESLint rule for enforcing \"use client\" in React client components","archived":false,"fork":false,"pushed_at":"2024-02-15T04:40:49.000Z","size":103,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-15T05:21:58.527Z","etag":null,"topics":["eslint","eslint-plugin","eslint-rules","next","nextjs","react","react-server-components"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roginfarrer.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-01T16:44:45.000Z","updated_at":"2024-04-30T03:23:07.951Z","dependencies_parsed_at":null,"dependency_job_id":"c2af92f3-fca2-4d4c-a499-79e8db986ec1","html_url":"https://github.com/roginfarrer/eslint-plugin-react-server-components","commit_stats":null,"previous_names":["roginfarrer/eslint-plugin-react-server-components","roginfarrer/eslint-plugin-react-client-components"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginfarrer%2Feslint-plugin-react-server-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginfarrer%2Feslint-plugin-react-server-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginfarrer%2Feslint-plugin-react-server-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roginfarrer%2Feslint-plugin-react-server-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roginfarrer","download_url":"https://codeload.github.com/roginfarrer/eslint-plugin-react-server-components/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033273,"owners_count":17563125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","eslint-plugin","eslint-rules","next","nextjs","react","react-server-components"],"created_at":"2024-11-23T10:46:29.679Z","updated_at":"2024-11-23T10:46:30.171Z","avatar_url":"https://github.com/roginfarrer.png","language":"TypeScript","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\u003e 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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froginfarrer%2Feslint-plugin-react-server-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froginfarrer%2Feslint-plugin-react-server-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froginfarrer%2Feslint-plugin-react-server-components/lists"}