-
Notifications
You must be signed in to change notification settings - Fork 31k
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
tools: update eslint to 8.26.0 #45239
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah wait the linter is failing, this needs to be addressed.
@aduh95 fixed |
Fast-track has been requested by @MoLow. Please 👍 to approve. |
@@ -165,6 +165,7 @@ function createConnection(port, host, options) { | |||
return socket; | |||
} | |||
|
|||
// eslint-disable-next-line jsdoc/require-returns-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one should be fixed. Line 168 should use @constructor
rather than @returns {Agent}
. (The others should be fixed too but this one is really simple.)
@@ -42,7 +42,7 @@ const supportedAssertionTypes = ArrayPrototypeFilter( | |||
ObjectValues(formatTypeMap), | |||
(type) => type !== kImplicitAssertType); | |||
|
|||
|
|||
// eslint-disable-next-line jsdoc/require-returns-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this one should be fixed rather than disabled. Instead of this comment, line 84 could have a return
added to it:
return handleInvalidType(url, importAssertions.type);
Alternative: #45243 |
(Or this could land first and then I can rebase that one. Either way.) |
Commit Queue failed- Loading data for nodejs/node/pull/45239 ✔ Done loading data for nodejs/node/pull/45239 ----------------------------------- PR info ------------------------------------ Title tools: update eslint to 8.26.0 (#45239) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch nodejs-github-bot:actions/tools-update-eslint -> nodejs:main Labels tools, fast-track, commit-queue-squash Commits 2 - tools: update eslint to 8.26.0 - fixup: fix lint warnings/errors Committers 2 - Node.js GitHub Bot - Moshe Atlow PR-URL: https://github.com/nodejs/node/pull/45239 Reviewed-By: Moshe Atlow Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/45239 Reviewed-By: Moshe Atlow Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 30 Oct 2022 00:36:02 GMT ✔ Approvals: 3 ✔ - Moshe Atlow (@MoLow): https://github.com/nodejs/node/pull/45239#pullrequestreview-1161067189 ✔ - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/45239#pullrequestreview-1161150352 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/45239#pullrequestreview-1163983666 ℹ This PR is being fast-tracked ✔ Last GitHub CI successful ✖ No Jenkins CI runs detected -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/3381484863 |
Failed to start CI- Validating Jenkins credentials ✖ Jenkins credentials invalidhttps://github.com///actions/runs/3381720001 |
This is an automated update of eslint to 8.26.0.