Skip to content

Conversation

@sapphi-red
Copy link
Contributor

@sapphi-redsapphi-red commented Oct 10, 2023

no-return-await rule was deprecated in ESLint 8.46.0. According to the ESLint docs removing await can make the code slower.

Refs: https://eslint.org/docs/latest/rules/no-return-await

This rule was added in #17265.
return await is sometimes necessary to create a better stacktrace (#49849 (comment)).

no-return-await rule was deprecated in ESLint 8.46.0. According to the ESLint docs removing `await` can make the code slower. Refs: https://eslint.org/docs/latest/rules/no-return-await
@nodejs-github-botnodejs-github-bot added the tools Issues and PRs related to the tools directory. label Oct 10, 2023
@sapphi-redsapphi-redforce-pushed the tools/remove-no-return-await-rule branch from a503145 to 0d4caeeCompareOctober 10, 2023 10:38
@anonriganonrig added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 10, 2023
@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 11, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 12, 2023
@nodejs-github-botnodejs-github-bot merged commit 760b5dd into nodejs:mainOct 12, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 760b5dd

@sapphi-redsapphi-red deleted the tools/remove-no-return-await-rule branch October 12, 2023 11:30
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
no-return-await rule was deprecated in ESLint 8.46.0. According to the ESLint docs removing `await` can make the code slower. Refs: https://eslint.org/docs/latest/rules/no-return-await PR-URL: nodejs#50118 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
targos pushed a commit that referenced this pull request Nov 11, 2023
no-return-await rule was deprecated in ESLint 8.46.0. According to the ESLint docs removing `await` can make the code slower. Refs: https://eslint.org/docs/latest/rules/no-return-await PR-URL: #50118 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@targostargos mentioned this pull request Nov 12, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@sapphi-red@nodejs-github-bot@lpinca@anonrig@aduh95