# eslint-plugin-jest

> ESLint rules for Jest tests

Source: https://talira.ai/catalog/eslint-plugin-jest-jw6hqh62
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Jest Community](https://talira.ai/orgs/jest-community.md)

eslint-plugin-jest adds about 70 rules for Jest test files to [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md): catching focused or disabled tests, duplicate test titles and invalid expect calls, and preferring clearer matchers. It ships recommended and style configs for flat and legacy configuration, some rules use TypeScript type information, and it can be pointed at other test frameworks such as Vitest or Bun's test runner, though its rules assume Jest's semantics.

## Links

- GitHub: https://github.com/jest-community/eslint-plugin-jest

## Problems it solves

- stop a focused or skipped Jest test from being committed
- lint Jest test files for common mistakes
- enforce consistent Jest matchers across a JavaScript project

## Features

- about 70 lint rules for Jest test files
- recommended, style and all configs for flat and legacy ESLint configuration
- rules that use TypeScript type information
- configurable for other test frameworks such as Vitest and Bun

## Limitations

- Its rules assume Jest's semantics, so they may not hold when applied to other test frameworks.[^1]
- Its rules assume the files they check are test files, so it shouldn't run on every source file.[^1]

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.88, adoption 0.61, momentum 0.32, community 0.88, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 42 commits in the last 90 days
- latest release v29.17.2 3 days ago
- 1.2k GitHub stars
- 154 contributors
- backed by Jest Community

## Related

- Works with [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md)
- Works with [Jest](https://talira.ai/catalog/jest-wp596gce.md)

## Alternatives

- [RuboCop RSpec](https://talira.ai/catalog/rubocop-rspec-qqbxpw4a.md): RuboCop extension with cops for RSpec test files
- [actionlint](https://talira.ai/catalog/actionlint-jtcdzp1v.md): Static checker for GitHub Actions workflow files
- [eslint-plugin-react](https://talira.ai/catalog/eslint-plugin-react-3vhwwnrz.md): React-specific linting rules for ESLint
- [yamllint](https://talira.ai/catalog/yamllint-q031qz6h.md): A linter for YAML files
- [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md): Find and fix problems in your JavaScript code.
- [Credo](https://talira.ai/catalog/credo-163rrxe7.md): Static code analysis for Elixir, with a focus on teaching and code consistency

## Sources

[^1]: https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/jest-community/eslint-plugin-jest/blob/main/LICENSE (checked 28 Nov 2026)
