-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 #162689
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @watson |
(cherry picked from commit 0e081d8)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 0e081d8) # Conflicts: # yarn.lock
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…162771) # Backport This will backport the following commits from `main` to `8.9`: - [Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)](#162689) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Thomas Watson","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-31T08:34:49Z","message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":162689,"url":"https://github.com/elastic/kibana/pull/162689","mergeCommit":{"message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162689","number":162689,"mergeCommit":{"message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a"}}]}] BACKPORT--> Co-authored-by: Thomas Watson <[email protected]>
…162778) # Backport This will backport the following commits from `main` to `7.17`: - [Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)](#162689) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Thomas Watson","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-31T08:34:49Z","message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":162689,"url":"https://github.com/elastic/kibana/pull/162689","mergeCommit":{"message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162689","number":162689,"mergeCommit":{"message":"Upgrade eslint-plugin-jest from v24.5.0 to v27.2.3 (#162689)","sha":"0e081d84f27e462a01a6902345c453040b123d1a"}},{"url":"https://github.com/elastic/kibana/pull/162771","number":162771,"branch":"8.9","state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
This PR is in preparation for Upgrading ESLint to the next major version: #162309
Here are the list of braking changes in
eslint-plugin-jest
between v24.5.0 and v27.2.3:27.0.0
: https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2700-2022-08-2826.0.0
: https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2600-2022-01-2425.0.0
: https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2500-2021-10-10As far as I can see, the only one affecting us is the rename of
valid-describe
tovalid-describe-callback
which I've included in this PR.