
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
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,
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
// Put rules you want to use here
"react-naming-convention/component-name": "warn",
},
});
https://eslint-react.xyz/docs/rules/overview#naming-convention-rules
FAQs
ESLint React's ESLint plugin for naming convention related rules.
The npm package eslint-plugin-react-naming-convention receives a total of 196,764 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
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.