-
Notifications
You must be signed in to change notification settings - Fork 236
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
docs: expand on how jest version is determined and common workarounds #897
Conversation
5b7c039
to
8d1ca5e
Compare
README.md
Outdated
@@ -60,22 +60,40 @@ This is included in all configs shared by this plugin, so can be omitted if | |||
extending them. | |||
|
|||
The behaviour of some rules (specifically `no-deprecated-functions`) change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should create a section here and link to it from https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-deprecated-functions.md
Currently this is actually incorrect, since we assume that the version being passed in |
@@ -6,6 +6,10 @@ either been renamed for clarity, or replaced with more powerful APIs. | |||
While typically these deprecated functions are kept in the codebase for a number | |||
of majors, eventually they are removed completely. | |||
|
|||
This rule requires knowing which version of Jest you're using - see | |||
[this section of the readme](README.md) for details on how that is obtained |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link doesn't work, does it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it doesn't - IntelliJ seems to have weird handling of relative links in nested docs :/
Have pulled these changes into #889 |
This is something of a documentation stop-gap while I work on #889.