
Product
Introducing Socket Scanning for VS Code Marketplace Extensions
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
eslint-plugin-react-x
Advanced tools
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
Composable ESLint rules for libraries and frameworks that use React as a UI runtime.
# npm
npm install --save-dev eslint-plugin-react-x
import js from "@eslint/js";
import reactX from "eslint-plugin-react-x";
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-x
reactX.configs.recommended,
],
rules: {
// Put rules you want to override here
"react-x/no-class-component": "warn",
},
},
);
FAQs
A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.
The npm package eslint-plugin-react-x receives a total of 1,626,038 weekly downloads. As such, eslint-plugin-react-x popularity was classified as popular.
We found that eslint-plugin-react-x demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Research
/Security News
Socket uncovered two malicious VS Code themes in a GlassWorm-linked cluster with thousands of installs across VS Code Marketplace and Open VSX.

Security News
/Company News
Capital One is partnering with Socket to proactively secure its open source supply chain.