
This PR contains the following updates:
Release Notes
jest-community/eslint-plugin-jest
Compare Source
Bug Fixes
Compare Source
Bug Fixes
- ensure rule fixes produce valid code when function params and args have trailing commas (#1282) (8eca0b7)
Compare Source
Performance Improvements
- use
Set
instead of iterating, and deduplicate a function (#1278) (0e048f1)
Compare Source
Performance Improvements
- don't collect more info than needed when resolving jest functions (#1275) (e4a5674)
Compare Source
Bug Fixes
- no-restricted-jest-methods: don't crash on
jest()
(#1269) (4450daa)
Compare Source
Bug Fixes
- valid-expect-in-promise: adjust grammar in rule message (#1264) (4494ed2)
Compare Source
Bug Fixes
Compare Source
Features
27.0.4 (2022-09-10)
Bug Fixes
27.0.3 (2022-09-09)
Bug Fixes
- ensure jest globals are enabled in
styles
config (#1241) (a165e98)
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
- prefer-expect-assertions: report on concise arrow functions with
expect
call (#1225) (64ec9c1)
Compare Source
Bug Fixes
Compare Source
Bug Fixes
- ensure jest globals are enabled in
styles
config (#1241) (a165e98)
Compare Source
Bug Fixes
- no-restricted-matchers: improve check to not be solely based on the start of the matcher chain (#1236) (5fe4568), closes#1235
Compare Source
Bug Fixes
- prefer-expect-assertions: report on concise arrow functions with
expect
call (#1225) (64ec9c1)
Compare Source
Bug Fixes
- unbound-method: don't suppress errors from base rule (#1219) (7c1389e)
Features
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
Compare Source
Features
26.8.7 (2022-08-21)
Bug Fixes
- prefer-expect-assertions: report on concise arrow functions (#1207) (f928747)
26.8.6 (2022-08-21)
Bug Fixes
- max-expect: reset
expect
counter when entering and exiting test function calls (#1206) (3908ab8)
26.8.5 (2022-08-20)
Bug Fixes
- prefer-expect-assertions: use scoped based jest fn call parser for
expect
checks (#1201) (fd54ca1)
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
- max-expects: don't count
expect.<member>()
calls towards max (#1194) (75a0ff2)
26.8.1 (2022-08-08)
Bug Fixes
- no-standalone-expect: only report on
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)
Compare Source
Bug Fixes
- prefer-expect-assertions: report on concise arrow functions (#1207) (f928747)
Compare Source
Bug Fixes
- max-expect: reset
expect
counter when entering and exiting test function calls (#1206) (3908ab8)
Compare Source
Bug Fixes
- prefer-expect-assertions: use scoped based jest fn call parser for
expect
checks (#1201) (fd54ca1)
Compare Source
Bug Fixes
- prefer-mock-promise-shorthand: ignore
mockImplementation
functions that have parameters (#1199) (78ccbef)
Compare Source
Performance Improvements
Compare Source
Bug Fixes
- max-expects: don't count
expect.<member>()
calls towards max (#1194) (75a0ff2)
Compare Source
Bug Fixes
- no-standalone-expect: only report on
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)
Compare Source
Features
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 byMend Renovate. View repository job loghere.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
^26.1.5
->^27.0.0
Release Notes
jest-community/eslint-plugin-jest
v27.1.7
Compare Source
Bug Fixes
v27.1.6
Compare Source
Bug Fixes
v27.1.5
Compare Source
Performance Improvements
Set
instead of iterating, and deduplicate a function (#1278) (0e048f1)v27.1.4
Compare Source
Performance Improvements
v27.1.3
Compare Source
Bug Fixes
jest()
(#1269) (4450daa)v27.1.2
Compare Source
Bug Fixes
v27.1.1
Compare Source
Bug Fixes
v27.1.0
Compare Source
Features
no-restricted-jest-methods
rule (#1257) (b8e61b1)27.0.4 (2022-09-10)
Bug Fixes
27.0.3 (2022-09-09)
Bug Fixes
styles
config (#1241) (a165e98)27.0.2 (2022-09-08)
Bug Fixes
27.0.1 (2022-08-28)
Bug Fixes
expect
call (#1225) (64ec9c1)v27.0.4
Compare Source
Bug Fixes
v27.0.3
Compare Source
Bug Fixes
styles
config (#1241) (a165e98)v27.0.2
Compare Source
Bug Fixes
v27.0.1
Compare Source
Bug Fixes
expect
call (#1225) (64ec9c1)v27.0.0
Compare Source
Bug Fixes
Features
eslint@6
(#1212) (21fc2fe)no-alias-methods
recommended (#1221) (914b24a)BREAKING CHANGES
no-alias-methods
is now recommended as the methods themselves will be removed in the next major version of Jestno-jest-import
ruleunbound-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 presentno-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 restrictv26.9.0
Compare Source
Features
prefer-each
rule (#1222) (574eaed)26.8.7 (2022-08-21)
Bug Fixes
26.8.6 (2022-08-21)
Bug Fixes
expect
counter when entering and exiting test function calls (#1206) (3908ab8)26.8.5 (2022-08-20)
Bug Fixes
expect
checks (#1201) (fd54ca1)26.8.4 (2022-08-19)
Bug Fixes
mockImplementation
functions that have parameters (#1199) (78ccbef)26.8.3 (2022-08-15)
Performance Improvements
26.8.2 (2022-08-09)
Bug Fixes
expect.<member>()
calls towards max (#1194) (75a0ff2)26.8.1 (2022-08-08)
Bug Fixes
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)v26.8.7
Compare Source
Bug Fixes
v26.8.6
Compare Source
Bug Fixes
expect
counter when entering and exiting test function calls (#1206) (3908ab8)v26.8.5
Compare Source
Bug Fixes
expect
checks (#1201) (fd54ca1)v26.8.4
Compare Source
Bug Fixes
mockImplementation
functions that have parameters (#1199) (78ccbef)v26.8.3
Compare Source
Performance Improvements
v26.8.2
Compare Source
Bug Fixes
expect.<member>()
calls towards max (#1194) (75a0ff2)v26.8.1
Compare Source
Bug Fixes
expect.hasAssertions
&expect.assertions
member calls (#1191) (4bf9eea)v26.8.0
Compare Source
Features
expect
based on scope (#1173) (aa4be21)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 byMend Renovate. View repository job loghere.