Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
11
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest - npm Package Versions

1
33

27.0.0

Diff

Changelog

Source

27.0.0 (2022-08-28)

Bug Fixes

  • unbound-method: don't suppress errors from base rule (#1219) (7c1389e)

Features

  • drop support for eslint@6 (#1212) (21fc2fe)
  • drop support for Node versions 12 and 17 (#1211) (4c987f5)
  • make no-alias-methods recommended (#1221) (914b24a)
  • no-jest-import: remove rule (#1220) (918873b)
  • no-restricted-matchers: match based on start of chain, requiring each permutation to be set (#1218) (f4dd97a)

BREAKING CHANGES

  • no-alias-methods is now recommended as the methods themselves will be removed in the next major version of Jest
  • no-jest-import: removed no-jest-import rule
  • unbound-method: errors thrown by the unbound-method base rule are no longer suppressed - really this means that if you don't specify project when this rule is enabled and @typescript-eslint/eslint-plugin is present, that error will no longer be suppressed instead of silently doing nothing; it will still not throw if this rule is enabled without the base rule being present
  • no-restricted-matchers: no-restricted-matchers now checks against the start of the expect chain, meaning you have to explicitly list each possible matcher & modifier permutations that you want to restrict
  • Support for ESLint version 6 is removed
  • Node versions 12 and 17 are no longer supported
simenb
published 27.0.0-next.2 •

Changelog

Source

27.0.0-next.2 (2022-08-28)

Bug Fixes

  • unbound-method: don't suppress errors from base rule (#1219) (7c1389e)

Features

  • make no-alias-methods recommended (#1221) (914b24a)
  • no-jest-import: remove rule (#1220) (918873b)
  • no-restricted-matchers: match based on start of chain, requiring each permutation to be set (#1218) (f4dd97a)

BREAKING CHANGES

  • no-alias-methods is now recommended as the methods themselves will be removed in the next major version of Jest
  • no-jest-import: removed no-jest-import rule
  • unbound-method: errors thrown by the unbound-method base rule are no longer suppressed - really this means that if you don't specify project when this rule is enabled and @typescript-eslint/eslint-plugin is present, that error will no longer be suppressed instead of silently doing nothing; it will still not throw if this rule is enabled without the base rule being present
  • no-restricted-matchers: no-restricted-matchers now checks against the start of the expect chain, meaning you have to explicitly list each possible matcher & modifier permutations that you want to restrict
simenb
published 26.9.0 •

Changelog

Source

26.9.0 (2022-08-28)

Features

simenb
published 27.0.0-next.1 •

Changelog

Source

27.0.0-next.1 (2022-08-23)

Features

BREAKING CHANGES

  • Support for ESLint version 6 is removed
  • Node versions 12 and 17 are no longer supported
simenb
published 26.8.7 •

Changelog

Source

26.8.7 (2022-08-21)

Bug Fixes

  • prefer-expect-assertions: report on concise arrow functions (#1207) (f928747)
simenb
published 26.8.6 •

Changelog

Source

26.8.6 (2022-08-21)

Bug Fixes

  • max-expect: reset expect counter when entering and exiting test function calls (#1206) (3908ab8)
simenb
published 26.8.5 •

Changelog

Source

26.8.5 (2022-08-20)

Bug Fixes

  • prefer-expect-assertions: use scoped based jest fn call parser for expect checks (#1201) (fd54ca1)
simenb
published 26.8.4 •

Changelog

Source

26.8.4 (2022-08-19)

Bug Fixes

  • prefer-mock-promise-shorthand: ignore mockImplementation functions that have parameters (#1199) (78ccbef)
simenb
published 26.8.3 •

Changelog

Source

26.8.3 (2022-08-15)

Performance Improvements

simenb
published 26.8.2 •

Changelog

Source

26.8.2 (2022-08-09)

Bug Fixes

  • max-expects: don't count expect.<member>() calls towards max (#1194) (75a0ff2)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc