
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
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...v1.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 232,263 weekly downloads. As such, eslint-plugin-react-naming-convention popularity was classified as 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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.