-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
[v19.x] lib: fix eslint early return #45409
Closed
Closed
Conversation
This file contains 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
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
I'm requesting |
RafaelGSS
added
the
fast-track
PRs that do not need to wait for 48 hours to land.
label
Nov 10, 2022
Fast-track has been requested by @RafaelGSS. Please 👍 to approve. |
Do I need CI for this PR? |
panva
approved these changes
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.
lpinca
approved these changes
Nov 10, 2022
ruyadorno
approved these changes
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.
19 tasks
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
BethGriggs
approved these changes
Nov 11, 2022
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
Landed in e2181e0 |
Ref: nodejs/build#3075 |
Merged
This was referenced Nov 12, 2022
This was referenced Nov 14, 2022
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
danielleadams
pushed a commit
that referenced
this pull request
Jan 4, 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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.