eslint-plugin-jest-extended weekly downloads statistics
By jest-community (2 listings) · npm · ESLint plugins
Eslint rules for Jest Extended
eslint-plugin-jest-extended has 41,853 recorded weekly downloads on npm, a decrease of 42.7% over the past 30 days.
About eslint-plugin-jest-extended
Installation
$ yarn add --dev eslint eslint-plugin-jest-extended
Note: If you installed ESLint globally then you must also install
eslint-plugin-jest-extended globally.
Usage
[!NOTE]
eslint.config.jsis supported, though most of the plugin documentation still currently uses.eslintrcsyntax.Refer to the ESLint documentation on the new configuration file format for more.
Add jest-extended to the plugins section of your .eslintrc configuration
file. You can omit the eslint-plugin- prefix:
{
"plugins": ["jest-extended"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"jest-extended/prefer-to-be-true": "warn",
"jest-extended/prefer-to-be-false": "error"
}
}
Shareable configurations
Recommended
This plugin does not export a recommended configuration, as the rules provided by this plugin are about enforcing usage of preferred matchers for particular patterns, rather than helping to prevent bugs & commonly overlooked traps.
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:
{
"extends": ["plugin:jest-extended/all"]
}
To enable this configuration with eslint.config.js, use
jestExtended.configs['flat/all']:
const jestExtended = require('eslint-plugin-jest-extended');
module.exports = [
{
files: [
/* glob matching your test files */
],
...jestExtended.configs['flat/all'],
},
];
Note that the all configuration may change in any release and is thus unsuited
for installations requiring long-term consistency.
Rules
<!-- begin auto-generated rules list -->🔧 Automatically fixable by the
--fix CLI option.
| Name | Description | 🔧 |
|---|---|---|
| prefer-to-be-array | Suggest using toBeArray() | 🔧 |
| prefer-to-be-false | Suggest using toBeFalse() | 🔧 |
| prefer-to-be-object | Suggest using toBeObject() | 🔧 |
| prefer-to-be-true | Suggest using toBeTrue() | 🔧 |
| prefer-to-have-been-called-once | Suggest using toHaveBeenCalledOnce() | 🔧 |
Credit
Related Projects
eslint-plugin-jest
This project aims to provide linting rules to aid in writing tests using jest.
https://github.com/jest-community/eslint-plugin-jest
eslint-plugin-jest-formatting
This project aims to provide formatting rules (auto-fixable where possible) to ensure consistency and readability in jest test suites.
https://github.com/dangreenisrael/eslint-plugin-jest-formatting
Description from the npm listing.
- jest
- eslint
- eslintplugin
- eslint-plugin
- eslint-plugin-jest
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 (122)Similar npm ESLint plugins plugins
All 20 eslint-plugin-jest-extended 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-jest-extended. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.