
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
eslint-plugin-react-hooks-extra
Advanced tools
ESLint React's ESLint plugin for React Hooks related rules.
Extra rules for React Hooks.
[!NOTE] This plugin is already included in
@eslint-react/eslint-plugin
. You don't need to install it separately if you are using@eslint-react/eslint-plugin
.
# npm
npm install --save-dev eslint-plugin-react-hooks-extra
// @ts-check
import js from "@eslint/js";
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
export default [
js.configs.recommended,
{
files: ["**/*.{ts,tsx}"],
plugins: {
"react-hooks-extra": reactHooksExtra,
},
rules: {
// react-hooks-extra recommended rules
"react-hooks-extra/no-direct-set-state-in-use-effect": "warn",
"react-hooks-extra/no-useless-custom-hooks": "warn",
"react-hooks-extra/prefer-use-state-lazy-initialization": "warn",
},
},
];
https://eslint-react.xyz/docs/rules/overview#hooks-extra-rules
v1.24.1 (2025-01-22)
disable-debug
, disable-dom
, and disable-web-apis
configs, closes https://github.com/Rel1cx/eslint-react/issues/923 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/924FAQs
ESLint React's ESLint plugin for React Hooks related rules.
The npm package eslint-plugin-react-hooks-extra receives a total of 142,710 weekly downloads. As such, eslint-plugin-react-hooks-extra popularity was classified as popular.
We found that eslint-plugin-react-hooks-extra demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.