Closed renovate[bot] closed 1 year ago
Merging #302 (b22b4b0) into main (ffc7a3c) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #302 +/- ##
=======================================
Coverage 98.93% 98.93%
=======================================
Files 4 4
Lines 94 94
Branches 10 10
=======================================
Hits 93 93
Misses 1 1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This PR contains the following updates:
^26.5.3
->^27.0.0
Release Notes
jest-community/eslint-plugin-jest
### [`v27.2.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2721-httpsgithubcomjest-communityeslint-plugin-jestcomparev2720v2721-2023-01-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.2.0...v27.2.1) ##### Bug Fixes - **valid-expect-in-promise:** handle sparse arrays ([#1325](https://togithub.com/jest-community/eslint-plugin-jest/issues/1325)) ([21e72c9](https://togithub.com/jest-community/eslint-plugin-jest/commit/21e72c9d94ed66c1006212e5da78bac8b62fa8c7)) ### [`v27.2.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2720-httpsgithubcomjest-communityeslint-plugin-jestcomparev2717v2720-2022-12-31) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.7...v27.2.0) ##### Features - create `no-untyped-mock-factory` rule ([#1314](https://togithub.com/jest-community/eslint-plugin-jest/issues/1314)) ([ee43c3f](https://togithub.com/jest-community/eslint-plugin-jest/commit/ee43c3f4d5de5e6935d0242cc846f1dec43af20d)) #### [27.1.7](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.6...v27.1.7) (2022-12-15) ##### Bug Fixes - **prefer-spy-on:** improve autofix ([#1308](https://togithub.com/jest-community/eslint-plugin-jest/issues/1308)) ([5d1b7a7](https://togithub.com/jest-community/eslint-plugin-jest/commit/5d1b7a76dbc07eb52b5c9111213c32b09e3bec9b)) #### [27.1.6](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.5...v27.1.6) (2022-11-24) ##### Bug Fixes - ensure rule fixes produce valid code when function params and args have trailing commas ([#1282](https://togithub.com/jest-community/eslint-plugin-jest/issues/1282)) ([8eca0b7](https://togithub.com/jest-community/eslint-plugin-jest/commit/8eca0b78920011d62eee35b42a90663082862131)) #### [27.1.5](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.4...v27.1.5) (2022-11-10) ##### Performance Improvements - use `Set` instead of iterating, and deduplicate a function ([#1278](https://togithub.com/jest-community/eslint-plugin-jest/issues/1278)) ([0e048f1](https://togithub.com/jest-community/eslint-plugin-jest/commit/0e048f1577565119cf686eac4477be64a41b2a08)) #### [27.1.4](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.3...v27.1.4) (2022-11-04) ##### Performance Improvements - don't collect more info than needed when resolving jest functions ([#1275](https://togithub.com/jest-community/eslint-plugin-jest/issues/1275)) ([e4a5674](https://togithub.com/jest-community/eslint-plugin-jest/commit/e4a567434d84585e01efcdd22ca7e77288069ae5)) #### [27.1.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.2...v27.1.3) (2022-10-18) ##### Bug Fixes - **no-restricted-jest-methods:** don't crash on `jest()` ([#1269](https://togithub.com/jest-community/eslint-plugin-jest/issues/1269)) ([4450daa](https://togithub.com/jest-community/eslint-plugin-jest/commit/4450daa17ae542bbfed85d16845c5dac1c310dea)) #### [27.1.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.1...v27.1.2) (2022-10-14) ##### Bug Fixes - **valid-expect-in-promise:** adjust grammar in rule message ([#1264](https://togithub.com/jest-community/eslint-plugin-jest/issues/1264)) ([4494ed2](https://togithub.com/jest-community/eslint-plugin-jest/commit/4494ed21686edeb1bc4535cb2159989f87a7493e)) #### [27.1.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.0...v27.1.1) (2022-10-05) ##### Bug Fixes - **prefer-to-be:** support negative numbers ([#1260](https://togithub.com/jest-community/eslint-plugin-jest/issues/1260)) ([557dd39](https://togithub.com/jest-community/eslint-plugin-jest/commit/557dd394a4535276a4c6fa046bfb525f4c412800)) ### [`v27.1.7`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2717-httpsgithubcomjest-communityeslint-plugin-jestcomparev2716v2717-2022-12-15) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.6...v27.1.7) ##### Bug Fixes - **prefer-spy-on:** improve autofix ([#1308](https://togithub.com/jest-community/eslint-plugin-jest/issues/1308)) ([5d1b7a7](https://togithub.com/jest-community/eslint-plugin-jest/commit/5d1b7a76dbc07eb52b5c9111213c32b09e3bec9b)) ### [`v27.1.6`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2716-httpsgithubcomjest-communityeslint-plugin-jestcomparev2715v2716-2022-11-24) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.5...v27.1.6) ##### Bug Fixes - ensure rule fixes produce valid code when function params and args have trailing commas ([#1282](https://togithub.com/jest-community/eslint-plugin-jest/issues/1282)) ([8eca0b7](https://togithub.com/jest-community/eslint-plugin-jest/commit/8eca0b78920011d62eee35b42a90663082862131)) ### [`v27.1.5`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2715-httpsgithubcomjest-communityeslint-plugin-jestcomparev2714v2715-2022-11-10) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.4...v27.1.5) ##### Performance Improvements - use `Set` instead of iterating, and deduplicate a function ([#1278](https://togithub.com/jest-community/eslint-plugin-jest/issues/1278)) ([0e048f1](https://togithub.com/jest-community/eslint-plugin-jest/commit/0e048f1577565119cf686eac4477be64a41b2a08)) ### [`v27.1.4`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2714-httpsgithubcomjest-communityeslint-plugin-jestcomparev2713v2714-2022-11-04) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.3...v27.1.4) ##### Performance Improvements - don't collect more info than needed when resolving jest functions ([#1275](https://togithub.com/jest-community/eslint-plugin-jest/issues/1275)) ([e4a5674](https://togithub.com/jest-community/eslint-plugin-jest/commit/e4a567434d84585e01efcdd22ca7e77288069ae5)) ### [`v27.1.3`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2713-httpsgithubcomjest-communityeslint-plugin-jestcomparev2712v2713-2022-10-18) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.2...v27.1.3) ##### Bug Fixes - **no-restricted-jest-methods:** don't crash on `jest()` ([#1269](https://togithub.com/jest-community/eslint-plugin-jest/issues/1269)) ([4450daa](https://togithub.com/jest-community/eslint-plugin-jest/commit/4450daa17ae542bbfed85d16845c5dac1c310dea)) ### [`v27.1.2`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2712-httpsgithubcomjest-communityeslint-plugin-jestcomparev2711v2712-2022-10-14) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.1...v27.1.2) ##### Bug Fixes - **valid-expect-in-promise:** adjust grammar in rule message ([#1264](https://togithub.com/jest-community/eslint-plugin-jest/issues/1264)) ([4494ed2](https://togithub.com/jest-community/eslint-plugin-jest/commit/4494ed21686edeb1bc4535cb2159989f87a7493e)) ### [`v27.1.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2711-httpsgithubcomjest-communityeslint-plugin-jestcomparev2710v2711-2022-10-05) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.1.0...v27.1.1) ##### Bug Fixes - **prefer-to-be:** support negative numbers ([#1260](https://togithub.com/jest-community/eslint-plugin-jest/issues/1260)) ([557dd39](https://togithub.com/jest-community/eslint-plugin-jest/commit/557dd394a4535276a4c6fa046bfb525f4c412800)) ### [`v27.1.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2710-httpsgithubcomjest-communityeslint-plugin-jestcomparev2704v2710-2022-10-03) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.4...v27.1.0) ##### Features - create `no-restricted-jest-methods` rule ([#1257](https://togithub.com/jest-community/eslint-plugin-jest/issues/1257)) ([b8e61b1](https://togithub.com/jest-community/eslint-plugin-jest/commit/b8e61b192ac79971575a3a250df2c54056eadc90)) #### [27.0.4](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.3...v27.0.4) (2022-09-10) ##### Bug Fixes - consistent rule doc notices and sections ([#1226](https://togithub.com/jest-community/eslint-plugin-jest/issues/1226)) ([2580563](https://togithub.com/jest-community/eslint-plugin-jest/commit/25805639edf59b5d8825cd4245e1fa66aff56382)) #### [27.0.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.2...v27.0.3) (2022-09-09) ##### Bug Fixes - ensure jest globals are enabled in `styles` config ([#1241](https://togithub.com/jest-community/eslint-plugin-jest/issues/1241)) ([a165e98](https://togithub.com/jest-community/eslint-plugin-jest/commit/a165e98b2a8728c427d6c484122dc9e64629052b)) #### [27.0.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.1...v27.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](https://togithub.com/jest-community/eslint-plugin-jest/issues/1236)) ([5fe4568](https://togithub.com/jest-community/eslint-plugin-jest/commit/5fe45680c93ff50745fc8f8f271607c21d9cae87)), closes [#1235](https://togithub.com/jest-community/eslint-plugin-jest/issues/1235) #### [27.0.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.0...v27.0.1) (2022-08-28) ##### Bug Fixes - **prefer-expect-assertions:** report on concise arrow functions with `expect` call ([#1225](https://togithub.com/jest-community/eslint-plugin-jest/issues/1225)) ([64ec9c1](https://togithub.com/jest-community/eslint-plugin-jest/commit/64ec9c10b0b67a19893e09f4462d5b1a1e984baf)) ### [`v27.0.4`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2704-httpsgithubcomjest-communityeslint-plugin-jestcomparev2703v2704-2022-09-10) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.3...v27.0.4) ##### Bug Fixes - consistent rule doc notices and sections ([#1226](https://togithub.com/jest-community/eslint-plugin-jest/issues/1226)) ([2580563](https://togithub.com/jest-community/eslint-plugin-jest/commit/25805639edf59b5d8825cd4245e1fa66aff56382)) ### [`v27.0.3`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2703-httpsgithubcomjest-communityeslint-plugin-jestcomparev2702v2703-2022-09-09) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.2...v27.0.3) ##### Bug Fixes - ensure jest globals are enabled in `styles` config ([#1241](https://togithub.com/jest-community/eslint-plugin-jest/issues/1241)) ([a165e98](https://togithub.com/jest-community/eslint-plugin-jest/commit/a165e98b2a8728c427d6c484122dc9e64629052b)) ### [`v27.0.2`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2702-httpsgithubcomjest-communityeslint-plugin-jestcomparev2701v2702-2022-09-08) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.1...v27.0.2) ##### Bug Fixes - **no-restricted-matchers:** improve check to not be solely based on the start of the matcher chain ([#1236](https://togithub.com/jest-community/eslint-plugin-jest/issues/1236)) ([5fe4568](https://togithub.com/jest-community/eslint-plugin-jest/commit/5fe45680c93ff50745fc8f8f271607c21d9cae87)), closes [#1235](https://togithub.com/jest-community/eslint-plugin-jest/issues/1235) ### [`v27.0.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2701-httpsgithubcomjest-communityeslint-plugin-jestcomparev2700v2701-2022-08-28) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.0.0...v27.0.1) ##### Bug Fixes - **prefer-expect-assertions:** report on concise arrow functions with `expect` call ([#1225](https://togithub.com/jest-community/eslint-plugin-jest/issues/1225)) ([64ec9c1](https://togithub.com/jest-community/eslint-plugin-jest/commit/64ec9c10b0b67a19893e09f4462d5b1a1e984baf)) ### [`v27.0.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2700-httpsgithubcomjest-communityeslint-plugin-jestcomparev2690v2700-2022-08-28) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.0) ##### Bug Fixes - **unbound-method:** don't suppress errors from base rule ([#1219](https://togithub.com/jest-community/eslint-plugin-jest/issues/1219)) ([7c1389e](https://togithub.com/jest-community/eslint-plugin-jest/commit/7c1389e3d8c59e283de37ed86f3f4c12fb38c3ff)) ##### Features - drop support for `eslint@6` ([#1212](https://togithub.com/jest-community/eslint-plugin-jest/issues/1212)) ([21fc2fe](https://togithub.com/jest-community/eslint-plugin-jest/commit/21fc2feea67a8fd9f6673fd6a1e91ca1f5bdda11)) - drop support for Node versions 12 and 17 ([#1211](https://togithub.com/jest-community/eslint-plugin-jest/issues/1211)) ([4c987f5](https://togithub.com/jest-community/eslint-plugin-jest/commit/4c987f5f566398d95584668bd2bc18bfdf438e40)) - make `no-alias-methods` recommended ([#1221](https://togithub.com/jest-community/eslint-plugin-jest/issues/1221)) ([914b24a](https://togithub.com/jest-community/eslint-plugin-jest/commit/914b24a0bc12a151e6f7ecec37a440769b555b94)) - **no-jest-import:** remove rule ([#1220](https://togithub.com/jest-community/eslint-plugin-jest/issues/1220)) ([918873b](https://togithub.com/jest-community/eslint-plugin-jest/commit/918873beb15d4a698fe5150d826d44b696283683)) - **no-restricted-matchers:** match based on start of chain, requiring each permutation to be set ([#1218](https://togithub.com/jest-community/eslint-plugin-jest/issues/1218)) ([f4dd97a](https://togithub.com/jest-community/eslint-plugin-jest/commit/f4dd97a7ec3b985d0f7e42a5a6331bc0c65a7d56)) ##### 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 ### [`v26.9.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2690-httpsgithubcomjest-communityeslint-plugin-jestcomparev2687v2690-2022-08-28) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.7...v26.9.0) ##### Features - create `prefer-each` rule ([#1222](https://togithub.com/jest-community/eslint-plugin-jest/issues/1222)) ([574eaed](https://togithub.com/jest-community/eslint-plugin-jest/commit/574eaed9fafcdc4ed5624451f792c8951eb49f0a)) #### [26.8.7](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.6...v26.8.7) (2022-08-21) ##### Bug Fixes - **prefer-expect-assertions:** report on concise arrow functions ([#1207](https://togithub.com/jest-community/eslint-plugin-jest/issues/1207)) ([f928747](https://togithub.com/jest-community/eslint-plugin-jest/commit/f92874783dd437108463231bf83afdb946641229)) #### [26.8.6](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.5...v26.8.6) (2022-08-21) ##### Bug Fixes - **max-expect:** reset `expect` counter when entering and exiting test function calls ([#1206](https://togithub.com/jest-community/eslint-plugin-jest/issues/1206)) ([3908ab8](https://togithub.com/jest-community/eslint-plugin-jest/commit/3908ab8c4bf7453d70a5ed04e22bf3ed90834576)) #### [26.8.5](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.4...v26.8.5) (2022-08-20) ##### Bug Fixes - **prefer-expect-assertions:** use scoped based jest fn call parser for `expect` checks ([#1201](https://togithub.com/jest-community/eslint-plugin-jest/issues/1201)) ([fd54ca1](https://togithub.com/jest-community/eslint-plugin-jest/commit/fd54ca15575692c56a0caa28cb6227e0fb4aa4e2)) #### [26.8.4](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.3...v26.8.4) (2022-08-19) ##### Bug Fixes - **prefer-mock-promise-shorthand:** ignore `mockImplementation` functions that have parameters ([#1199](https://togithub.com/jest-community/eslint-plugin-jest/issues/1199)) ([78ccbef](https://togithub.com/jest-community/eslint-plugin-jest/commit/78ccbefc01720f5c44ae439389cb27afda0315c2)) #### [26.8.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.2...v26.8.3) (2022-08-15) ##### Performance Improvements - cache jest fn call parsing results ([#1187](https://togithub.com/jest-community/eslint-plugin-jest/issues/1187)) ([525631e](https://togithub.com/jest-community/eslint-plugin-jest/commit/525631ebddbb0ebbfe9415c330b3751100bee6a5)) #### [26.8.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v26.8.1...v26.8.2) (2022-08-09) ##### Bug Fixes - **max-expects:** don't count `expect.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.