Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

nodejs-github-bot
Copy link
Collaborator

This is an automated update of eslint to 8.26.0.

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Oct 30, 2022
Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

aduh95
aduh95 previously requested changes Oct 30, 2022
Copy link
Contributor

@aduh95 aduh95 left a 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.

@MoLow
Copy link
Member

MoLow commented Oct 30, 2022

@aduh95 fixed

@MoLow MoLow added the fast-track PRs that do not need to wait for 48 hours to land. label Oct 30, 2022
@github-actions
Copy link
Contributor

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

@MoLow MoLow added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Oct 30, 2022
@@ -165,6 +165,7 @@ function createConnection(port, host, options) {
return socket;
}

// eslint-disable-next-line jsdoc/require-returns-check
Copy link
Member

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
Copy link
Member

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);

@Trott
Copy link
Member

Trott commented Oct 30, 2022

Alternative: #45243

@Trott
Copy link
Member

Trott commented Oct 30, 2022

Alternative: #45243

(Or this could land first and then I can rebase that one. Either way.)

@aduh95 aduh95 dismissed their stale review October 30, 2022 20:19

Addressed.

@Trott Trott added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 2, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 2, 2022
@nodejs-github-bot
Copy link
Collaborator Author

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/.ncu
https://github.com/nodejs/node/actions/runs/3381484863

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Nov 2, 2022
@Trott Trott added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 2, 2022
@github-actions github-actions bot added request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Nov 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2022

Failed to start CI
- Validating Jenkins credentials
✖  Jenkins credentials invalid
https://github.com///actions/runs/3381720001

@Trott
Copy link
Member

Trott commented Nov 6, 2022

#45243

@Trott Trott closed this Nov 6, 2022
@Trott Trott deleted the actions/tools-update-eslint branch November 6, 2022 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-failed An error occurred while landing this pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. fast-track PRs that do not need to wait for 48 hours to land. request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants