{"library":"eslint-plugin-react-you-might-not-need-an-effect","type":"library","category":null,"description":"An ESLint plugin (v0.9.3, updated April 2026) that warns against unnecessary React useEffect hooks by detecting patterns where effects are synchronous or could be replaced with derived state, event handlers, or other React patterns. It encourages following the principle 'You Might Not Need an Effect' from the React docs. Unlike general React lint rules, this plugin specifically targets overuse of useEffect and provides auto-fix suggestions. Requires ESLint >=8.40.0 and Node >=14.0.0. Written in TypeScript, ships with types. The recommended and strict configs are included. Supports both flat and legacy ESLint configs.","language":"javascript","status":"active","version":"0.9.3","tags":["javascript","eslint","eslintplugin","eslint-plugin","react"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-react-you-might-not-need-an-effect","imports":["import plugin from 'eslint-plugin-react-you-might-not-need-an-effect'","import { rules } from 'eslint-plugin-react-you-might-not-need-an-effect'","import { configs } from 'eslint-plugin-react-you-might-not-need-an-effect'"]},{"cmd":"yarn add eslint-plugin-react-you-might-not-need-an-effect","imports":[]},{"cmd":"pnpm add eslint-plugin-react-you-might-not-need-an-effect","imports":[]}],"homepage":null,"github":"https://github.com/nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-react-you-might-not-need-an-effect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-react-you-might-not-need-an-effect/compatibility"}}