Skip to content
PluginStats

eslint-plugin-react weekly downloads statistics

By jsx-eslint (2 listings) · npm · ESLint plugins

React specific linting rules for ESLint

View on npm Fresh · Dec 6, 2026

eslint-plugin-react has 74,874,810 recorded weekly downloads on npm, a decrease of 9.1% over the past 30 days, ranking #22 of 3,247 tracked listings.

Weekly downloads
74,874,810
Official API · Dec 5, 2026
7-day growth
-0.1%
-63.7K weekly downloads
30-day growth
-9.1%
-7.5M weekly downloads
90-day growth
+38.0%
+20.6M weekly downloads
Rank
#22
▼ 6 in 7 days

About eslint-plugin-react

eslint-plugin-react <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

===================

[![github actions][actions-image]][actions-url] [![Maintenance Status][status-image]][status-url] [![NPM version][npm-image]][npm-url] [![Tidelift][tidelift-image]][tidelift-url]

React specific linting rules for eslint

Installation

npm install eslint eslint-plugin-react --save-dev

It is also possible to install ESLint globally rather than locally (using npm install -g eslint). However, this is not recommended, and any plugins or shareable configs that you use must be installed locally in either case.

Configuration (legacy: .eslintrc*) <a id="configuration"></a>

Use our preset to get reasonable defaults:

  "extends": [
    "eslint:recommended",
    "plugin:react/recommended"
  ]

If you are using the new JSX transform from React 17, extend react/jsx-runtime in your eslint config (add "plugin:react/jsx-runtime" to "extends") to disable the relevant rules.

You should also specify settings that will be shared across all the plugin rules. (More about eslint shared settings)

{
  "settings": {
    "react": {
      "createClass": "createReactClass", // Regex for Component Factory to use,
                                         // default to "createReactClass"
      "pragma": "React",  // Pragma to use, default to "React"
      "fragment": "Fragment",  // Fragment to use (may be a property of <pragma>), default to "Fragment"
      "version": "detect", // React version. "detect" automatically picks the version you have installed.
                           // You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
                           // Defaults to the "defaultVersion" setting and warns if missing, and to "detect" in the future
      "defaultVersion": "", // Default React version to use when the version you have installed cannot be detected.
                            // If not provided, defaults to the latest React version.
      "flowVersion": "0.53" // Flow version
    },
    "propWrapperFunctions": [
        // The names of any function used to wrap propTypes, e.g. `forbidExtraProps`. If this isn't set, any propTypes wrapped in a function will be skipped.
        "forbidExtraProps",
        {"property": "freeze", "object": "Object"},
        {"property": "myFavoriteWrapper"},
        // for rules that check exact prop wrappers
        {"property": "forbidExtraProps", "exact": true}
    ],
    "componentWrapperFunctions": [
        // The name of any function used to wrap components, e.g. Mobx `observer` function. If this isn't set, components wrapped by these functions will be skipped.
        "observer", // `property`
        {"property": "styled"}, // `object` is optional
        {"property": "observer", "object": "Mobx"},
        {"property": "observer", "object": "<pragma>"} // sets `object` to whatever value `settings.react.pragma` is set to
    ],
    "formComponents": [
      // Components used as alternatives to <form> for forms, eg. <Form endpoint={ url } />
      "CustomForm",
      {"name": "SimpleForm", "formAttribute": "endpoint"},
      {"name": "Form", "formAttribute": ["registerEndpoint", "loginEndpoint"]}, // allows specifying multiple properties if necessary
    ],
    "linkComponents": [
      // Components used as alternatives to <a> for linking, eg. <Link to={ url } />
      "Hyperlink",
      {"name": "MyLink", "linkAttribute": "to"},
      {"name": "Link", "linkAttribute": ["to", "href"]}, // allows specifying multiple properties if necessary
    ]
  }
}

If you do not use a preset you will need to specify individual rules and add extra configuration.

Add "react" to the plugins section.

{
  "plugins": [
    "react"
  ]
}

Enable JSX support.

With eslint 2+

{
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true
    }
  }
}

Enable the rules that you would like to use.

  "rules": {
    "react/jsx-uses-react": "error",
    "react/jsx-uses-vars": "error",
  }
Shareable configs
Recommended

This plugin exports a recommended configuration that enforces React good practices.

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": ["eslint:recommended", "plugin:react/recommended"]
}

See eslint documentation for more information about extending configuration files.

All

This plugin also exports an all configuration that includes every available rule. This pairs well with the eslint:all rule.

{
  "plugins": [
    "react"
  ],
  "extends": ["eslint:all", "plugin:react/all"]
}

Note: These configurations will import eslint-plugin-react and enable JSX in parser options.

Configuration (new: eslint.config.js)

From v8.21.0, eslint announced a new config system. In the new system, .eslintrc* is no longer used. eslint.config.js would be the default config file name. In eslint v8, the legacy system (.eslintrc*) would still be supported, while in eslint v9, only the new system would be supported.

And from v8.23.0, eslint CLI starts to look up eslint.config.js. So, if your eslint is >=8.23.0, you're 100% ready to use the new config system.…

Description from the npm listing.

  • eslint
  • eslint-plugin
  • eslintplugin
  • react

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

eslint-plugin-react weekly downloads on npm, last 90 days: 74,874,810 weekly downloads as of Dec 5, 2026, +38.0% over 90 days.eslint-plugin-reactWeekly downloads on npm · Last 90 days74,874,810downloads / week+38.0% over 90 days020M40M60M80M100MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-react weekly downloads on npm, last 90 days: 74,874,810 weekly downloads as of Dec 5, 2026, +38.0% over 90 days.

7/30/90-day growth

eslint-plugin-react weekly downloads growth on npm: -0.1% over 7 days, -9.1% over 30 days, +38.0% over 90 days.eslint-plugin-reactWeekly downloads growth on npm74,874,810downloads / week now7-day growth-63,668 weekly downloads-0.1%30-day growth-7,456,431 weekly downlo…-9.1%90-day growth+20,626,848 weekly downl…+38.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-react weekly downloads growth on npm: -0.1% over 7 days, -9.1% over 30 days, +38.0% over 90 days.

Ranking history

eslint-plugin-react npm ranking history: currently #22 (by weekly downloads).eslint-plugin-reactnpm ranking · by weekly downloads · Last 90 days#22current rank#5#10#15#20#25Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-react npm ranking history: currently #22 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 2, #2 (overall #22)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 1, #7 (overall #7)
ESLint plugins: every listing in weekly downloads order

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 (592)
Recent weekly downloads observations for eslint-plugin-react
Date (UTC)Weekly downloadsChange vs. previous
74,874,810-6.4M
81,278,294+2.5M
78,737,475+2.6M
76,139,781+1.4M
74,789,318+1.1M
73,651,675-609.8K
74,261,443-677K
74,938,478-846.2K
75,784,722-2.4M
78,181,743-2.8M
80,983,242-1.9M
82,915,221-1.1M
84,015,974-529.4K
84,545,324—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-react alternatives

Data 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-react. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.