NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2199 most downloaded on npm
ESLint rules for Jest
Last release 1 months ago
30 Aug 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
381 releases · first in 2016
prefer-equality-matcher: handle resolves and rejects modifiers correctly
One column per quarter.
prefer-called-with: handle resolves and rejects modifiers correctly
support aliases for jest globals (e.g. context)
no-restricted-matchers: allow restricting negated resolves and rejects modifiers
no-disabled-tests: don't report on it.todo & test.todo
expect-expect: include numbers when matching assert function names with wildcards
don't consider template tags in the middle of a possible jest function chain to be valid
don't consider method calls on literals or new to be jest functions
don't consider concurrent.skip and concurrent.only valid test functions
no-disabled-tests: switch to using jest function call parser
improve how jest function calls are resolved to account for import aliases
create prefer-hooks-in-order rule
use the last reference definition when checking jest fn scope
use correct scope for checking references
# 26.2.0 (2022-05-13) ### Features * support @jest/globals
prefer-expect-assertions: properly handle checking across multiple tests
prefer-snapshot-hint: don't report multi snapshots in different tests within the same describe
change node engine version to match dependencies
prefer-snapshot-hint: support passing hint to toMatchSnapshot as first argument
docs: use the correct function name
no-conditional-in-test rule (#1027) (d551850)prefer-snapshot-hint rule (#1012) (d854723)no-if in favor of no-conditional-in-test (#1049) (35f32cc)@typescript-eslint/eslint-plugin@4prefer-equality-matcher rule (#1016) (341353b)asyncMatchers option and default to jest-extended matchers (#1018) (c82205a)deprecate no-if in favor of no-conditional-in-test
create no-conditional-in-test rule
migrate to non-experimental ts-eslint utils
create prefer-comparison-matcher rule
prefer-expect-assertions: support requiring only if expect is used in a callback
prefer-expect-assertions: support requiring only if expect is used in a loop
prefer-lowercase-title: ignore it and test separately
no-large-snapshots: only count size of template string for inline snapshots
prefer-to-be: support template literals
require-hook: add allowedFunctionCalls setting
prefer-to-be: preserve resolves and rejects modifiers
no-deprecated-functions: mark jest as an optional peer dependency
require-hook: check variables are either const or declarations
expect-expect: don't error on it.todo & test.todo calls
expect-expect: support additionalTestBlockFunctions option
# 25.1.0 (2021-10-14) ### Features * support eslint@8
valid-expect-in-promise: allow expect.resolve & expect.reject (#948) (71b7e17), closes #947
support @typescript-eslint/eslint-plugin@5
update @typescript-eslint/experimental-utils to v5
valid-expect-in-promise: support awaited promises in arguments
valid-expect-in-promise: support out of order awaits
specify peer dependency ranges correctly
prefer-to-be to style ruleset (2a3376f)prefer-lowercase-title (b860084)valid-describe-callback (f3e9e9a)valid-describe to valid-describe-callbacklowercase-name to prefer-lowercase-titleprefer-to-be-undefined ruleprefer-to-be-null ruleprefer-to-be ruleno-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshotsprefer-to-be to style ruleset (2a3376f)prefer-lowercase-title (b860084)valid-describe-callback (f3e9e9a)valid-describe to valid-describe-callbacklowercase-name to prefer-lowercase-titleprefer-to-be-undefined ruleprefer-to-be-null ruleprefer-to-be ruletoBe-able (#922) (99b6d42)require-hook rule (#929) (6204b31)prefer-to-be-null rule (4db9161)prefer-to-be-undefined rule (fa08f09)process.cwd from resolve paths (#889) (6940488).each titles unique (#910) (a41a40e)finally (#914) (9c89855)prefer-expect-resolves rule (#822) (2556020)prefer-to-be rule (#864) (3a64aea)hasSuggestion for ESLint v8 (#898) (ec0a21b)hasSuggestions rather than hasSuggestion (#899) (dfd2368)no-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshotsrequire-hook rule (#929) (6204b31)prefer-to-be-null rule (4db9161)prefer-to-be-undefined rule (fa08f09)add prefer-to-be to style ruleset
prefer-to-be to style ruleset (2a3376f)prefer-lowercase-title (b860084)valid-describe-callback (f3e9e9a)valid-describe to valid-describe-callbacklowercase-name to prefer-lowercase-titleprefer-to-be-undefined ruleprefer-to-be-null ruleprefer-to-be ruleno-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshotsadd prefer-to-be to style ruleset
prefer-to-be to style ruleset (2a3376f)prefer-lowercase-title (b860084)valid-describe-callback (f3e9e9a)valid-describe to valid-describe-callbacklowercase-name to prefer-lowercase-titleprefer-to-be-undefined ruleprefer-to-be-null ruleprefer-to-be ruledeprecate prefer-to-be-null rule
toBe-able (#922) (99b6d42)no-deprecated-functions: remove process.cwd from resolve paths
process.cwd from resolve paths (#889) (6940488).each titles unique (#910) (a41a40e)finally (#914) (9c89855)mark rules that suggest fixes with hasSuggestion for ESLint v8
Removes rules no-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshots
no-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshots# 25.0.0-next.2 (2021-09-13) ### Bug Fixes * stop testing ESLint 5 (#893) (47a0138) ### BREAKING CHANGES * Drop support for ESLint 5
Drop support for Node 10 and 15
valid-expect-in-promise: re-implement rule
lowercase-name: consider skip and only prefixes for ignores
prefer-to-be: don't consider RegExp literals as toBe-able
Your coding agent can read these notes before it upgrades. Set up the MCP server →