Skip to content

Conversation

@wjhsf
Copy link

@wjhsf wjhsf commented Nov 12, 2025

A single misconfigured rule should not cause all of eslint to crash. To avoid that, this PR changes the logic of the no-deprecated-functions rule to assume that the user has the latest version of jest installed, and therefore will report all deprecations.

Fixes #1831.

@G-Rath G-Rath closed this Nov 12, 2025
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.

Is jest really a peer (optional) dependency? It isn't because of the "'jest/no-deprecated-functions': Unable to detect Jest version" error.

2 participants