chore(deps): update dependency eslint-plugin-jest to v27
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-jest | devDependencies | major | 24.7.0 -> 27.2.1 |
Release Notes
jest-community/eslint-plugin-jest
v27.2.1
Bug Fixes
v27.2.0
Features
27.1.7 (2022-12-15)
Bug Fixes
27.1.6 (2022-11-24)
Bug Fixes
- ensure rule fixes produce valid code when function params and args have trailing commas (#1282) (8eca0b7)
27.1.5 (2022-11-10)
Performance Improvements
27.1.4 (2022-11-04)
Performance Improvements
27.1.3 (2022-10-18)
Bug Fixes
27.1.2 (2022-10-14)
Bug Fixes
27.1.1 (2022-10-05)
Bug Fixes
v27.1.7
Bug Fixes
v27.1.6
Bug Fixes
- ensure rule fixes produce valid code when function params and args have trailing commas (#1282) (8eca0b7)
v27.1.5
Performance Improvements
v27.1.4
Performance Improvements
v27.1.3
Bug Fixes
v27.1.2
Bug Fixes
v27.1.1
Bug Fixes
v27.1.0
Features
27.0.4 (2022-09-10)
Bug Fixes
27.0.3 (2022-09-09)
Bug Fixes
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
27.0.1 (2022-08-28)
Bug Fixes
v27.0.4
Bug Fixes
v27.0.3
Bug Fixes
v27.0.2
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
Bug Fixes
v27.0.0
Bug Fixes
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 specifyproject
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
v26.9.0
Features
26.8.7 (2022-08-21)
Bug Fixes
26.8.6 (2022-08-21)
Bug Fixes
26.8.5 (2022-08-20)
Bug Fixes
26.8.4 (2022-08-19)
Bug Fixes
-
prefer-mock-promise-shorthand: ignore
mockImplementation
functions that have parameters (#1199) (78ccbef)
26.8.3 (2022-08-15)
Performance Improvements
26.8.2 (2022-08-09)
Bug Fixes
26.8.1 (2022-08-08)
Bug Fixes
-
no-standalone-expect: only report on
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)
v26.8.7
Bug Fixes
v26.8.6
Bug Fixes
v26.8.5
Bug Fixes
v26.8.4
Bug Fixes
-
prefer-mock-promise-shorthand: ignore
mockImplementation
functions that have parameters (#1199) (78ccbef)
v26.8.3
Performance Improvements
v26.8.2
Bug Fixes
v26.8.1
Bug Fixes
-
no-standalone-expect: only report on
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)
v26.8.0
Features
v26.7.0
Features
v26.6.0
Features
26.5.3 (2022-06-06)
Bug Fixes
26.5.2 (2022-06-06)
Bug Fixes
26.5.1 (2022-06-05)
Bug Fixes
v26.5.3
Bug Fixes
v26.5.2
Bug Fixes
v26.5.1
Bug Fixes
v26.5.0
Features
26.4.7 (2022-06-04)
Bug Fixes
26.4.6 (2022-05-30)
Bug Fixes
26.4.5 (2022-05-29)
Bug Fixes
- expect-expect: include numbers when matching assert function names with wildcards (#1134) (2d0ef11)
26.4.4 (2022-05-29)
Bug Fixes
- don't consider template tags in the middle of a possible jest function chain to be valid (#1133) (430de17)
26.4.3 (2022-05-29)
Bug Fixes
- don't consider method calls on literals or
new
to be jest functions (#1132) (379ceb3) - produce valid code when when fixing properties accessed with square brackets (#1131) (6cd600d)
26.4.2 (2022-05-28)
Bug Fixes
- don't consider
concurrent.skip
andconcurrent.only
valid test functions (#1124) (0aa5eb6) - no-disabled-tests: use jest function call parser for checking number of args (#1126) (b67e389)
26.4.1 (2022-05-28)
Bug Fixes
- no-disabled-tests: switch to using jest function call parser (#1125) (32931c3)
- support
failing
property on test functions (#1123) (6d75e8d)
v26.4.7
Bug Fixes
v26.4.6
Bug Fixes
v26.4.5
Bug Fixes
- expect-expect: include numbers when matching assert function names with wildcards (#1134) (2d0ef11)
v26.4.4
Bug Fixes
- don't consider template tags in the middle of a possible jest function chain to be valid (#1133) (430de17)
v26.4.3
Bug Fixes
- don't consider method calls on literals or
new
to be jest functions (#1132) (379ceb3) - produce valid code when when fixing properties accessed with square brackets (#1131) (6cd600d)
v26.4.2
Bug Fixes
- don't consider
concurrent.skip
andconcurrent.only
valid test functions (#1124) (0aa5eb6) - no-disabled-tests: use jest function call parser for checking number of args (#1126) (b67e389)
v26.4.1
Bug Fixes
- no-disabled-tests: switch to using jest function call parser (#1125) (32931c3)
- support
failing
property on test functions (#1123) (6d75e8d)
v26.4.0
Features
v26.3.0
Features
26.2.2 (2022-05-14)
Bug Fixes
26.2.1 (2022-05-14)
Bug Fixes
v26.2.2
Bug Fixes
v26.2.1
Bug Fixes
v26.2.0
Features
26.1.5 (2022-04-22)
Bug Fixes
26.1.4 (2022-04-08)
Bug Fixes
- prefer-snapshot-hint: don't report multi snapshots in different tests within the same describe (#1078) (98e5166)
26.1.3 (2022-03-24)
Bug Fixes
26.1.2 (2022-03-19)
Bug Fixes
26.1.1 (2022-02-15)
Bug Fixes
v26.1.5
Bug Fixes
v26.1.4
Bug Fixes
- prefer-snapshot-hint: don't report multi snapshots in different tests within the same describe (#1078) (98e5166)
v26.1.3
Bug Fixes
v26.1.2
Bug Fixes
v26.1.1
Bug Fixes
v26.1.0
Features
- create
no-conditional-in-test
rule (#1027) (d551850) - create
prefer-snapshot-hint
rule (#1012) (d854723) - deprecate
no-if
in favor ofno-conditional-in-test
(#1049) (35f32cc)
v26.0.0
Bug Fixes
BREAKING CHANGES
- Drop support for
@typescript-eslint/eslint-plugin@4
v25.7.0
Features
- create
prefer-equality-matcher
rule (#1016) (341353b) -
valid-expect: support
asyncMatchers
option and default tojest-extended
matchers (#1018) (c82205a)
v25.6.0
Features
v25.5.0
Features
v25.4.0
Features
25.3.4 (2022-01-01)
Bug Fixes
25.3.3 (2021-12-30)
Bug Fixes
- prefer-to-contain: support square bracket accessors (#1009) (73984a7)
- prefer-to-have-length: support square bracket accessors (#1010) (9e70f55)
25.3.2 (2021-12-27)
Bug Fixes
- no-large-snapshots: only count size of template string for inline snapshots (#1005) (5bea38f)
- prefer-hooks-on-top: improve message & docs (#999) (f9e7ae2)
25.3.1 (2021-12-27)
Bug Fixes
v25.3.4
Bug Fixes
v25.3.3
Bug Fixes
- prefer-to-contain: support square bracket accessors (#1009) (73984a7)
- prefer-to-have-length: support square bracket accessors (#1010) (9e70f55)
v25.3.2
Bug Fixes
- no-large-snapshots: only count size of template string for inline snapshots (#1005) (5bea38f)
- prefer-hooks-on-top: improve message & docs (#999) (f9e7ae2)
v25.3.1
Bug Fixes
v25.3.0
Features
25.2.4 (2021-11-08)
Bug Fixes
25.2.3 (2021-11-04)
Bug Fixes
25.2.2 (2021-10-17)
Bug Fixes
25.2.1 (2021-10-15)
Bug Fixes
v25.2.4
Bug Fixes
v25.2.3
Bug Fixes
v25.2.2
Bug Fixes
v25.2.1
Bug Fixes
v25.2.0
Features
v25.1.0
Features
25.0.6 (2021-10-14)
Bug Fixes
-
valid-expect-in-promise: allow
expect.resolve
&expect.reject
(#948) (71b7e17), closes #947 -
valid-expect-in-promise: support
await
in arrays (#949) (a62130c)
25.0.5 (2021-10-11)
Bug Fixes
25.0.4 (2021-10-11)
Bug Fixes
25.0.3 (2021-10-11)
Bug Fixes
25.0.2 (2021-10-11)
Bug Fixes
25.0.1 (2021-10-10)
Bug Fixes
- specify peer dependency ranges correctly (cb87458)
v25.0.6
Bug Fixes
-
valid-expect-in-promise: allow
expect.resolve
&expect.reject
(#948) (71b7e17), closes #947 -
valid-expect-in-promise: support
await
in arrays (#949) (a62130c)
v25.0.5
Bug Fixes
v25.0.4
Bug Fixes
v25.0.3
Bug Fixes
v25.0.2
Bug Fixes
v25.0.1
Bug Fixes
- specify peer dependency ranges correctly (cb87458)
v25.0.0
Bug Fixes
Features
- add
prefer-to-be
to style ruleset (2a3376f) -
lowercase-name: rename to
prefer-lowercase-title
(b860084) - prefer-to-be-null: remove rule (809bcda)
- prefer-to-be-undefined: remove rule (3434d9b)
- remove deprecated rules (#661) (e8f16ec)
-
valid-describe: rename to
valid-describe-callback
(f3e9e9a)
BREAKING CHANGES
-
valid-describe: renamed
valid-describe
tovalid-describe-callback
-
lowercase-name: renamed
lowercase-name
toprefer-lowercase-title
-
prefer-to-be-undefined: removed
prefer-to-be-undefined
rule -
prefer-to-be-null: removed
prefer-to-be-null
rule - recommend
prefer-to-be
rule - Removes rules
no-expect-resolves
,no-truthy-falsy
,no-try-expect
, andprefer-inline-snapshots
- Drop support for ESLint 5
- Drop support for Node 10 and 15
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.
Edited by Botaniker (Bot)
Merge request reports
Activity
Please register or sign in to reply