Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint-plugin-jest to 27.6.0 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KamilaBorowska
Copy link

@KamilaBorowska KamilaBorowska commented Dec 28, 2023

This allows using @typescript-eslint/eslint-plugin 6 without warnings, while eslint-plugin-jest 25 only supported 5.

The breaking changes in 26 according to changelog:

  • Drop support for @typescript-eslint/eslint-plugin@4

The breaking changes in 27 according to changelog:

  • 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

@KamilaBorowska KamilaBorowska force-pushed the update-eslint-plugin-jest-27.6.0 branch 4 times, most recently from 65b741c to b5049b8 Compare December 28, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant