# eslint-plugin-react-rsc

> ESLint React's ESLint plugin for RSC related rules.

Latest version **5.20.2** (published 2026-09-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-react-rsc
pnpm add eslint-plugin-react-rsc
yarn add eslint-plugin-react-rsc
bun add eslint-plugin-react-rsc
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 5.20.2 |
| Published | 2026-09-20 |
| First published | 2026-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 588 |
| Author | Rel1cx |
| Maintainers | rel1cx |
| Keywords | react, eslint, eslint-react, eslint-plugin, eslint-plugin-react-rsc |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-react-rsc
- Repository: https://github.com/Rel1cx/eslint-react
- Issues: https://github.com/Rel1cx/eslint-react/issues
- npm.io page: https://npm.io/package/eslint-plugin-react-rsc

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 5.20.2 (latest) — 2026-09-20
- 5.12.0-beta.2 (beta) — 2026-07-07
- 5.8.7-next.1 (next) — 2026-05-28
- 4.2.1-rc.1 (rc) — 2026-04-01
- 0.0.0 (alpha) — 2026-02-02
- 5.20.1 — 2026-09-20
- 5.20.0 — 2026-09-19
- 5.19.1 — 2026-09-14
- 5.19.0 — 2026-09-06
- 5.18.10 — 2026-09-06
- 5.18.9 — 2026-09-06
- 5.18.8 — 2026-09-05
- 5.18.7 — 2026-09-02
- 5.18.6 — 2026-08-13
- 5.18.5 — 2026-08-13
- … 494 more at https://npm.io/package/eslint-plugin-react-rsc/versions

## README

# eslint-plugin-react-rsc

RSC related rules.

## Install

```sh
# npm
npm install --save-dev eslint-plugin-react-rsc
```

## Setup

```ts
import js from "@eslint/js";
import reactRsc from "eslint-plugin-react-rsc";
import { defineConfig } from "eslint/config";
import tseslint from "typescript-eslint";

export default defineConfig(
  {
    files: ["**/*.{ts,tsx}"],
    extends: [
      js.configs.recommended,
      tseslint.configs.recommended,
      // Add configs from eslint-plugin-react-rsc
      reactRsc.configs.recommended,
    ],
    rules: {
      // Put rules you want to override here
      "react-rsc/function-definition": "error",
    },
  },
);
```

## Rules

<https://eslint-react.xyz/docs/rules#rsc-rules>

---
_Source: https://npm.io/package/eslint-plugin-react-rsc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
