eslint-plugin-use-effect-no-deps weekly downloads statistics
By alxhenry · npm · ESLint plugins
Warns a user when the react hook useEffect is called with no dependency array
eslint-plugin-use-effect-no-deps has 6,166 recorded weekly downloads on npm, a decrease of 74.3% over the past 30 days, ranking #1085 of 2,322 tracked listings.
About eslint-plugin-use-effect-no-deps
eslint-plugin-use-effect-no-deps
Warns a user when the react hook useEffect is called with no dependency array.
My team found that we rarely needed the behavior of useEffect without a dependency array as the second argument. Among the 60 usages of useEffect in our codebase, none needed the effect to run on every render of the component. This rule makes an author ensure that the behavior of useEffect with one argument is what they intended.
Installation
You'll first need to install ESLint:
Next, install eslint-plugin-use-effect-no-deps:
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-use-effect-no-deps globally.
Usage
Add use-effect-no-deps to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
Then configure the rules you want to use under the rules section.
Supported Rules
• use-effect-no-deps
Attributions
The code for this rule is based on the exhaustive-deps rule that Facebook publishes under the MIT License. You can find the source code for that rule here: https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm ESLint plugins plugins
All 20 eslint-plugin-use-effect-no-deps alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-use-effect-no-deps. First seen Oct 16, 2026; last successful collection Oct 17, 2026. See the methodology.