├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── release.yml │ └── validate.yml ├── .gitignore ├── .nvmrc ├── .prettierignore ├── CHANGELOG.md ├── LICENSE ├── example ├── .eslintrc.json ├── .gitignore ├── README.md ├── app │ ├── ClientComponent.js │ ├── ServerComponent.js │ ├── favicon.ico │ ├── globals.css │ ├── layout.js │ ├── page.js │ ├── page.module.css │ └── useTranslation.js ├── next.config.mjs ├── package.json ├── pnpm-lock.yaml └── public │ ├── next.svg │ └── vercel.svg ├── jest.config.js ├── package.json ├── pnpm-lock.yaml ├── readme.md ├── src ├── index.ts └── rules │ ├── react-events.ts │ ├── use-client.test.ts │ └── use-client.ts ├── tsconfig.json └── tsup.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | pnpm-lock.yaml 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/LICENSE -------------------------------------------------------------------------------- /example/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/.eslintrc.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/README.md -------------------------------------------------------------------------------- /example/app/ClientComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/ClientComponent.js -------------------------------------------------------------------------------- /example/app/ServerComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/ServerComponent.js -------------------------------------------------------------------------------- /example/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/favicon.ico -------------------------------------------------------------------------------- /example/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/globals.css -------------------------------------------------------------------------------- /example/app/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/layout.js -------------------------------------------------------------------------------- /example/app/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/page.js -------------------------------------------------------------------------------- /example/app/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/page.module.css -------------------------------------------------------------------------------- /example/app/useTranslation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/app/useTranslation.js -------------------------------------------------------------------------------- /example/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/next.config.mjs -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/package.json -------------------------------------------------------------------------------- /example/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/pnpm-lock.yaml -------------------------------------------------------------------------------- /example/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/public/next.svg -------------------------------------------------------------------------------- /example/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/example/public/vercel.svg -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/readme.md -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/rules/react-events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/src/rules/react-events.ts -------------------------------------------------------------------------------- /src/rules/use-client.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/src/rules/use-client.test.ts -------------------------------------------------------------------------------- /src/rules/use-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/src/rules/use-client.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roginfarrer/eslint-plugin-react-server-components/HEAD/tsup.config.ts --------------------------------------------------------------------------------