jest-codemods
jest-codemods copied to clipboard
Update dependency eslint-plugin-jest to v27
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-jest | 26.9.0 -> 27.0.4 |
Release Notes
jest-community/eslint-plugin-jest
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
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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.