
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
eslint-plugin-react-naming-convention
Advanced tools
ESLint React's ESLint plugin for naming convention related rules.
Naming convention rules.
# npm
npm install --save-dev eslint-plugin-react-naming-convention
// eslint.config.js
// @ts-check
import js from "@eslint/js";
import reactNamingConvention from "eslint-plugin-react-naming-convention";
import tseslint from "typescript-eslint";
export default tseslint.config({
files: ["**/*.ts", "**/*.tsx"],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
],
plugins: {
"react-naming-convention": reactNamingConvention,
},
languageOptions: {
parser: tseslint.parser,
parserOptions: {
projectService: true,
},
},
rules: {
// Put rules you want to use here
"react-naming-convention/component-name": "warn",
},
});
https://eslint-react.xyz/docs/rules/overview#naming-convention-rules
v1.38.0 (2025-03-25)
react-x/jsx-no-undef
rule, closes #1016 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1018hooks-extra/prefer-use-state-lazy-initialization
rule to recommended presets by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1019react-x/jsx-uses-vars
and react-x/jsx-no-duplicate-props
rules by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/1017Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.37.3...1.38.0
FAQs
ESLint React's ESLint plugin for naming convention related rules.
The npm package eslint-plugin-react-naming-convention receives a total of 0 weekly downloads. As such, eslint-plugin-react-naming-convention popularity was classified as not popular.
We found that eslint-plugin-react-naming-convention 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.
Did you know?
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.
Product
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.