Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

eslint-plugin-react-naming-convention

Package Overview
Dependencies
Maintainers
1
Versions
2418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-naming-convention

ESLint React's ESLint plugin for naming convention related rules.

Source
npmnpm
Version
3.0.0-beta.48
Version published
Weekly downloads
848K
4.6%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-react-naming-convention

Naming convention rules.

Install

# npm
npm install --save-dev eslint-plugin-react-naming-convention

Setup

import js from "@eslint/js";
import namingConvention from "eslint-plugin-react-naming-convention";
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-naming-convention
      namingConvention.configs.recommended,
    ],
    rules: {
      // Put rules you want to override here
      "react-naming-convention/component-name": "warn",
    },
  },
);

Rules

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

Keywords

react

FAQs

Package last updated on 25 Feb 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