eslint-plugin-jest weekly downloads statistics
By jest-community (2 listings) · npm · ESLint plugins
ESLint rules for Jest
eslint-plugin-jest has 6,343,319 recorded weekly downloads on npm, a decrease of 51.2% over the past 30 days.
It ranks #127 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -57.7%.
PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.
About eslint-plugin-jest
eslint-plugin-jest
ESLint plugin for Jest
Installation
Note: If you installed ESLint globally then you must also install eslint-plugin-jest globally.
Usage
If you're using flat configuration:
With flat configuration, just import the plugin and away you go:
With legacy configuration, add jest to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
[!NOTE]
You only need to explicitly include our globals if you're not using one of our shared configs
Aliased Jest globals
You can tell this plugin about any global Jests you have aliased using the globalAliases setting:
Aliased @jest/globals
You can tell this plugin to treat a different package as the source of Jest globals using the globalPackage setting:
[!WARNING]
While this can be used to apply rules when using alternative testing libraries and frameworks like bun, vitest and node, there's no guarantee the semantics this plugin assumes will hold outside of Jest
Running rules only on test-related files
The rules provided by this plugin assume that the files they are checking are test-related. This means it's generally not suitable to include them in your top-level configuration as that applies to all files being linted which can include source files.
For .eslintrc configs you can use overrides to have ESLint apply additional rules to specific files:
For eslint.config.js you can use files and ignores:
Jest version setting
The behaviour of some rules (specifically [no-deprecated-functions][]) change depending on the version of Jest being used.
By default, this plugin will attempt to determine to locate Jest using require.resolve, meaning it will start looking in the closest node_modules folder to the file being linted and work its way up.
Since we cache the automatically determined version, if you're linting sub-folders that have different versions of Jest, you may find that the wrong version of Jest is considered when linting. You can work around this by providing the Jest version explicitly in nested ESLint configs:
To avoid hard-coding a number, you can also fetch it from the installed version of Jest if you use a JavaScript config file such as .eslintrc.js:
Shareable configurations
[!NOTE]
eslint.config.js compatible versions of configs are available prefixed with flat/ and may be subject to small breaking changes while ESLint v9 is being finalized.
Recommended
This plugin exports a recommended configuration that enforces good testing practices.
To enable this configuration with .eslintrc, use the extends property:
To enable this configuration with eslint.config.js, use jest.configs['flat/recommended']:
Style
This plugin also exports a configuration named style, which adds some stylistic rules, such as prefer-to-be-null, which enforces usage of toBeNull over toBe(null).
To enable this configuration use the extends property in your .eslintrc config file:
To enable this configuration with eslint.config.js, use jest.configs['flat/style']:
All
If you want to enable all rules instead of only some you can do so by adding the all configuration to your .eslintrc config file:
To enable this configuration with eslint.config.js, use jest.configs['flat/all']:
While the recommended and style configurations only change in major versions the all configuration may change in any release and is thus unsuited for installations requiring long-term consistency.
Rules
💼 Configurations enabled in.\ ⚠️ Configurations set to warn in.\ ✅ Set in the recommended configuration.\ 🎨 Set in the style configuration.\ 🔧 Automatically fixable by the --fix CLI option.\ 💡 Manually fixable by editor suggestions.
| Name | Description | 💼 | ⚠️ | 🔧 | 💡 |…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
Where eslint-plugin-jest sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (542)Similar npm ESLint plugins plugins
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-jest. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.