Skip to content

Releases: jest-community/eslint-plugin-jest

v27.0.4

10 Sep 11:57
Compare
Choose a tag to compare

27.0.4 (2022-09-10)

Bug Fixes

  • consistent rule doc notices and sections (#1226) (2580563)

v27.0.3

09 Sep 23:08
Compare
Choose a tag to compare

27.0.3 (2022-09-09)

Bug Fixes

  • ensure jest globals are enabled in styles config (#1241) (a165e98)

v27.0.2

08 Sep 09:11
Compare
Choose a tag to compare

27.0.2 (2022-09-08)

Bug Fixes

  • no-restricted-matchers: improve check to not be solely based on the start of the matcher chain (#1236) (5fe4568), closes #1235

v27.0.1

28 Aug 20:56
Compare
Choose a tag to compare

27.0.1 (2022-08-28)

Bug Fixes

  • prefer-expect-assertions: report on concise arrow functions with expect call (#1225) (64ec9c1)

v27.0.0

28 Aug 12:18
Compare
Choose a tag to compare

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

v27.0.0-next.2

28 Aug 09:55
Compare
Choose a tag to compare
v27.0.0-next.2 Pre-release
Pre-release

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

v26.9.0

28 Aug 09:50
Compare
Choose a tag to compare

26.9.0 (2022-08-28)

Features

v27.0.0-next.1

23 Aug 10:56
Compare
Choose a tag to compare
v27.0.0-next.1 Pre-release
Pre-release

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

v26.8.7

21 Aug 21:03
Compare
Choose a tag to compare

26.8.7 (2022-08-21)

Bug Fixes

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

v26.8.6

21 Aug 20:14
Compare
Choose a tag to compare

26.8.6 (2022-08-21)

Bug Fixes

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