Skip to content

tools: remove no-return-await lint rule - #50118

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
sapphi-red:tools/remove-no-return-await-rule
Oct 12, 2023
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
sapphi-red:tools/remove-no-return-await-rule

Conversation

@sapphi-red

@sapphi-red sapphi-red commented Oct 10, 2023 •

Copy link
Copy Markdown
Contributor

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-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Oct 10, 2023
@sapphi-red
sapphi-red force-pushed the tools/remove-no-return-await-rule branch from a503145 to 0d4caee Compare October 10, 2023 10:38
@anonrig anonrig added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Oct 10, 2023
@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 11, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Oct 12, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 760b5dd into nodejs:main Oct 12, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 760b5dd

@sapphi-red
sapphi-red deleted the tools/remove-no-return-await-rule branch October 12, 2023 11:30
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 <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Assignees

Couldn't load assignees.