Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More →
Socket
Book a DemoSign in
Socket

eslint-plugin-react-rsc

Package Overview
Dependencies
Maintainers
1
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-rsc

ESLint React's ESLint plugin for RSC related rules.

Source
npmnpm
Version
3.0.0-rc.3
Version published
Weekly downloads
351K
10.2%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-react-rsc

Install

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

Setup

import js from "@eslint/js";
import rsc 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
      rsc.configs.recommended,
    ],
    rules: {
      // Put rules you want to override here
      "react-rsc/function-definition": "error",
    },
  },
);

Rules

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

Keywords

react

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts