eslint-config-preact
eslint-config-preact copied to clipboard
Update eslint-plugin-jest to 27.6.0
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 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