FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v19.x] lib: fix eslint early return by RafaelGSS · Pull Request #45409 · nodejs/node · GitHub

/ node Public

[v19.x] lib: fix eslint early return - #45409

Closed
RafaelGSS wants to merge 1 commit into
nodejs:v19.x-stagingfrom
RafaelGSS:fix-eslint-return-early
Closed

[v19.x] lib: fix eslint early return#45409
RafaelGSS wants to merge 1 commit into
nodejs:v19.x-stagingfrom
RafaelGSS:fix-eslint-return-early

Conversation

Copy link
Copy Markdown
Member

The #45243 updated eslint, and apparently when you specify a @returns early returns aren't considered valid. This PR fixes this lint issue.

In the main branch it's not failing because #41276 fixes it indirectly.

FYI @Trott

cc: @nodejs/releasers this probably needs to be backported/cherry-picked to all active release lines.

The nodejs#45243 upgraded eslint
and apparently, when you specific a `@returns` early returns
aren't considered valid. This PR fixes this lint issue.
nodejs-github-bot added events Issues and PRs related to the events subsystem / EventEmitter. needs-ci PRs that need a full CI run. v19.x labels Nov 10, 2022

Copy link
Copy Markdown
Member Author

I'm requesting fast-track because I need to include it on #45269.

RafaelGSS added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 10, 2022

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @RafaelGSS. Please 👍 to approve.

Copy link
Copy Markdown
Member Author

Do I need CI for this PR?

RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 10, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 10, 2022

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

BethGriggs added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Nov 11, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member Author

The Windows issue is a known problem at the moment, and considering the fact we need this patch for #45269 and a new CI will run for the proposal, I'll land it anyway.

RafaelGSS added a commit that referenced this pull request Nov 11, 2022
The #45243 upgraded eslint
and apparently, when you specific a `@returns` early returns
aren't considered valid. This PR fixes this lint issue.

PR-URL: #45409
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>

Copy link
Copy Markdown
Member Author

Landed in e2181e0

RafaelGSS closed this Nov 11, 2022

Copy link
Copy Markdown
Member Author

Ref: nodejs/build#3075

danielleadams pushed a commit that referenced this pull request Dec 30, 2022
The #45243 upgraded eslint
and apparently, when you specific a `@returns` early returns
aren't considered valid. This PR fixes this lint issue.

PR-URL: #45409
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
The #45243 upgraded eslint
and apparently, when you specific a `@returns` early returns
aren't considered valid. This PR fixes this lint issue.

PR-URL: #45409
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

events Issues and PRs related to the events subsystem / EventEmitter. fast-track PRs that do not need to wait for 48 hours to land. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL