GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update ESLint to 5.2.0 by hiroppy · Pull Request #21817 · nodejs/node

Conversation

@hiroppy

@hiroppy hiroppy commented Jul 14, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

changelog: https://github.com/eslint/eslint/releases/tag/v5.1.0 https://github.com/eslint/eslint/releases/tag/v5.2.0

CI: https://ci.nodejs.org/job/node-test-pull-request/15882/

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hiroppy hiroppy added the tools Issues and PRs related to the tools directory. label Jul 14, 2018
@nodejs-github-bot

nodejs-github-bot commented Jul 14, 2018

Copy link
Copy Markdown
Collaborator

@hiroppy build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/277/pipeline

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Jul 14, 2018
Trott
Trott reviewed Jul 15, 2018
View reviewed changes
Comment thread tools/node_modules/eslint/node_modules/acorn-jsx/package.json Outdated

@Trott Trott Jul 15, 2018

Copy link
Copy Markdown
Member

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.

It appears that most of the 179 package.json file changes (of the 205 total changed files here) are simply changes like this. This is definitely churn we don't need. Any chance we can omit the package.json files that only change the _where path from the commit? I'll work on a PR to update update-eslint.sh to do this automatically.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@Trott Trott Jul 15, 2018

Copy link
Copy Markdown
Member

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.

(PR: #21819)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hiroppy and trivikr reacted with heart emoji
All reactions
  • ❤️ 2 reactions

@hiroppy hiroppy Jul 15, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

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.

good catch! thanks @Trott. I will wait for #21819 to be merged.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@Trott Trott mentioned this pull request Jul 15, 2018
tools: improve update-eslint.sh #21819
Closed
2 tasks done
@hiroppy

hiroppy commented Jul 15, 2018

Copy link
Copy Markdown
Member Author

node-test-commit-osx failed but it has no related this PR.

20:24:08 not ok 2340 sequential/test-timers-blocking-callback
20:24:08   ---
20:24:08   duration_ms: 2.301
20:24:08   severity: fail
20:24:08   exitcode: 1
20:24:08   stack: |-
20:24:08     assert.js:80
20:24:08       throw new AssertionError(obj);
20:24:08       ^
20:24:08     
20:24:08     AssertionError [ERR_ASSERTION]: timeout delayed by more than 100% (250ms)
20:24:08         at blockingCallback (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1012/test/sequential/test-timers-blocking-callback.js:62:14)
20:24:08         at ontimeout (timers.js:457:11)
20:24:08         at tryOnTimeout (timers.js:327:5)
20:24:08         at listOnTimeout (timers.js:301:5)
20:24:08         at processTimers (timers.js:258:5)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 15, 2018

Copy link
Copy Markdown
Member

@hiroppy It's a known flaky. See #21781. You can use "Resume Build" on the node-test-pull-request page for your CI run to create a new node-test-pull-request that will keep all the green from that run and re-run everything else. (Although I think we'll need a full CI re-run once you remove the package.json files from the commit.)

hiroppy reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott added blocked PRs that are blocked by other issues or PRs. and removed blocked PRs that are blocked by other issues or PRs. labels Jul 15, 2018
@Trott

Trott commented Jul 20, 2018

Copy link
Copy Markdown
Member

Change to update-eslint.sh has landed so I've removed the blocked label. This will still have a bigger-than-usual diff because the new update-eslint.sh will remove a bunch of unnecessary stuff from all of the package.json files, but after this lands, that won't happen again. 🎉

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Yuta Hiroto
tools: update ESLint to 5.2.0
b53e4a8
@hiroppy
hiroppy force-pushed the eslint branch from e1680d2 to b53e4a8 Compare July 23, 2018 03:26
@hiroppy hiroppy changed the title tools: update ESLint to 5.1.0 tools: update ESLint to 5.2.0 Jul 23, 2018
@hiroppy

hiroppy commented Jul 23, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Used the patch created by @Trott and updated ESLint to 5.2.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott
Trott approved these changes Jul 23, 2018
View reviewed changes
@Trott

Trott commented Jul 23, 2018

Copy link
Copy Markdown
Member

CI: https://ci.nodejs.org/job/node-test-pull-request/15977/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 26, 2018

Copy link
Copy Markdown
Member

Resumed CI: https://ci.nodejs.org/job/node-test-pull-request/16018/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 26, 2018

Copy link
Copy Markdown
Member

@nodejs/linting This could use another review or so.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

silverwind
silverwind suggested changes Jul 26, 2018
View reviewed changes

@silverwind silverwind left a comment

Copy link
Copy Markdown
Contributor

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.

Two points:

  1. This release should bring support for some globals we manually define, so you should be able to remove them.
  2. From the diff, I'm not sure if eslint's dependencies were actually updated because the diff does not contain updated files for globals, for example.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Trott

Trott commented Jul 26, 2018

Copy link
Copy Markdown
Member
  1. From the diff, I'm not sure if eslint's dependencies were actually updated because the diff does not contain updated files for globals, for example.

@silverwind Current master branch (with ESLint 5.0.0) has globals 11.7.0, which is the most recent release. So I wouldn't expect an update to ESLint 5.2.0 to change that. It's still going to be globals 11.7.0. (Or maybe I'm misunderstanding?)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@silverwind

silverwind commented Jul 27, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Current master branch (with ESLint 5.0.0) has globals 11.7.0

Ah, you're right. I actually attempted to remove those globals earlier on master but it wasn't working for some weird reason.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

silverwind
silverwind approved these changes Jul 27, 2018
View reviewed changes
@silverwind

silverwind commented Jul 27, 2018

Copy link
Copy Markdown
Contributor

Just re-tested the removals of the globals, still didn't work out despite having the globals in tools/node_modules/eslint/node_modules/globals/globals.json. Have to check it out another time, so should be LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 27, 2018

Copy link
Copy Markdown
Member

Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/16023/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Jul 27, 2018
View reviewed changes

@jasnell jasnell left a comment

Copy link
Copy Markdown
Member

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.

rubber-stamp lgtm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
sagirk
sagirk approved these changes Jul 27, 2018
View reviewed changes
@Trott

Trott commented Jul 27, 2018

Copy link
Copy Markdown
Member

That one macstadium OSX 12 machine just doesn't want to build...

Trying again: https://ci.nodejs.org/job/node-test-pull-request/16032/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 27, 2018

Copy link
Copy Markdown
Member

https://ci.nodejs.org/job/node-test-pull-request/16037/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott pushed a commit to Trott/io.js that referenced this pull request Jul 28, 2018
Yuta Hiroto @Trott
tools: update ESLint to 5.2.0
8c6d1a0
PR-URL: nodejs#21817
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@Trott

Trott commented Jul 28, 2018

Copy link
Copy Markdown
Member

Landed in 8c6d1a0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott closed this Jul 28, 2018
@hiroppy
hiroppy deleted the eslint branch July 28, 2018 15:56
targos pushed a commit that referenced this pull request Jul 31, 2018
Yuta Hiroto @targos
tools: update ESLint to 5.2.0
98d461e
PR-URL: #21817
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@targos targos mentioned this pull request Jul 31, 2018
v10.8.0 proposal #22040
Merged
This was referenced Aug 1, 2018
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-nodejs#212
Closed
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-android-nodejs#223
Closed
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-android-nodejs#224
Closed
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-android-nodejs#225
Closed
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-android-nodejs#226
Closed
2018-08-01 Version 10.8.0 (Current) @targos beevelop/docker-android-nodejs#227
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@Trott Trott Trott approved these changes
+2 more reviewers
@silverwind silverwind silverwind approved these changes
@sagirk sagirk sagirk approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@hiroppy @nodejs-github-bot @Trott @silverwind @jasnell @sagirk
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.