-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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 5.2.0 #21817
Conversation
@@ -21,7 +21,7 @@ | |||
"_resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz", | |||
"_shasum": "e8e41e48ea2fe0c896740610ab6a4ffd8add225e", | |||
"_spec": "acorn-jsx@^4.1.1", | |||
"_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint/node_modules/espree", | |||
"_where": "/Users/about_hiroppy/Programming/nodejs/node/tools/eslint-tmp/node_modules/eslint/node_modules/espree", |
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.
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)
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.
node-test-commit-osx failed but it has no related this PR.
|
@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.) |
Change to update-eslint.sh has landed so I've removed the |
Used the patch created by @Trott and updated ESLint to 5.2.0. |
@nodejs/linting This could use another review or so. |
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:
- This release should bring support for some globals we manually define, so you should be able to remove them.
- 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?) |
Ah, you're right. I actually attempted to remove those globals earlier on master but it wasn't working for some weird reason. |
Just re-tested the removals of the globals, still didn't work out despite having the globals in |
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/16023/ |
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
That one macstadium OSX 12 machine just doesn't want to build... Trying again: https://ci.nodejs.org/job/node-test-pull-request/16032/ |
PR-URL: nodejs#21817 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 8c6d1a0 |
PR-URL: #21817 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
changelog:
https://github.com/eslint/eslint/releases/tag/v5.1.0https://github.com/eslint/eslint/releases/tag/v5.2.0CI: https://ci.nodejs.org/job/node-test-pull-request/15882/
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes