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-to-have-been-called: don't crash on matcher without an argument
One column per quarter.
no-export: handle nested assignment chains
no-export: check for exports global
prefer-equality-matcher: don't crash on expect chain without a value
prefer-comparison-matcher: don't crash on expect chain without a value
valid-expect-with-promise: add checkThenables option for custom promises
allow TypeScript v7 as a peer dependency
no-export: don't report on assignment to locals named module
no-export: treat describe blocks as test files
valid-mock-module-path: don't report virtual mocks
allow TypeScript@7 in peer dependency
no-conditional-in-test: only report optional chaining when allowOptionalChaining is false
no-conditional-in-test: ban optional chaining
# 29.13.0 (2026-02-08) ### Features * support ESLint v10
add optional peer dependency on TypeScript
no-unnecessary-assertion: don't report for any and unknown types
prefer-mock-return-shorthand: greatly improve checking if mutable variables are used
prefer-mock-return-shorthand: ignore use of update expressions
prefer-mock-return-shorthand: ignore async implementations
prefer-mock-return-shorthand: don't report mutable implementations
unbound-method: ignore inline use of jest.mocked(...)
create new prefer-mock-return-shorthand rule
valid-expect-in-promise: don't crash on it.todo
valid-title: ensure printf specifiers in .each titles are valid
no-unnecessary-assertion: support toBeNaN too
create new valid-expect-with-promise rule
# 29.7.0 (2025-12-22) ### Features * create new no-error-equal rule
no-unnecessary-assertion: ignore resolve and reject chains (for now)
create new no-unnecessary-assertion rule
create new no-unneeded-async-expect-function rule
prefer-to-have-been-called-times: actually check that current matcher is toHaveLength
toHaveLength (#1878) (3415744)prefer-to-have-been-called-times rule (281085a)prefer-to-have-been-called rule (24e2acd)create new prefer-to-have-been-called-times rule
prefer-expect-assertions: support basic uses of hasAssertions in beforeEach and afterEach hooks
prefer-expect-assertions: use correct word in error message
no-export: report on export = usage
valid-mock-module-path: report on ERR_PACKAGE_PATH_NOT_EXPORTED errors
create new valid-mock-module-path rule
prefer-lowercase-title: allow ignoring todos
only specify ts-eslint once in package.json
update semantic-release config so new v29 major is marked as latest on npm
jest/no-alias-methods from styles config (d3bf1dc)[@typescript-eslint](https://github.com/typescript-eslint) v6 (fe61a40)[@typescript-eslint](https://github.com/typescript-eslint) v7 (5ca65d3)docs.recommended and docs.requiresTypeChecking properties (945651c)docs.recommend and docs.requiresTypeChecking from unbound-method@typescript-eslint v7@typescript-eslint v6jest/no-alias-methods has been removed from the styles config as its already in
the recommended configremove jest/no-alias-methods from styles config
jest/no-alias-methods from styles config (d3bf1dc)[@typescript-eslint](https://github.com/typescript-eslint) v6 (fe61a40)[@typescript-eslint](https://github.com/typescript-eslint) v7 (5ca65d3)docs.recommended and docs.requiresTypeChecking properties (945651c)docs.recommend and docs.requiresTypeChecking from unbound-method@typescript-eslint v7@typescript-eslint v6jest/no-alias-methods has been removed from the styles config as its already in
the recommended configunbound-method: mark docs.recommended and docs.requiresTypeChecking as deprecated
handle string-based import names when resolving Jest functions
prefer-importing-jest-globals: handle string-based import names
prefer-importing-jest-globals: preserve require property renames
prefer-importing-jest-globals: preserve as imports
prefer-ending-with-an-expect: don't report on await expect
create new prefer-ending-with-an-expect rule
no-disabled-tests: improve error message and simplify rule
no-commented-out-tests: make message less ambiguous
no-large-snapshots: use a far better message for when an unexpected snapshot is found
valid-expect: allow calling expect with no arguments
padding-around-test-blocks: update description
unbound-method: ignore functions passed to jest.mocked
# 28.9.0 (2024-11-05) ### Features * add TypeScript types
prefer-importing-jest-globals: don't add imports in the middle of statements
prefer-importing-jest-globals: stop collecting import specifiers for no reason
prefer-importing-jest-globals: support typescript-eslint parser
import formatting rules from eslint-plugin-jest-formatting
Your coding agent can read these notes before it upgrades. Set up the MCP server →