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 to ESLint 4.10.0 #16738

Merged
merged 1 commit into from
Nov 6, 2017
Merged

tools: update to ESLint 4.10.0 #16738

merged 1 commit into from
Nov 6, 2017

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Nov 4, 2017

Mostly wanted to try updating eslint because I haven't done it before.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Nov 4, 2017
Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

Rubber-stamp LGTM assuming this was done with the tools/update-eslint.sh script.

@cjihrig
Copy link
Contributor Author

cjihrig commented Nov 4, 2017

assuming this was done with the tools/update-eslint.sh script.

It was. It's a nice script.

@maclover7
Copy link
Contributor

@cjihrig Would I be able to talk you into writing a short maintaining-eslint.md guide like the one that's being worked on for npm.md, and the one that exists for V8? Obviously ESLint is not packaged for userland, but it's still a thing that needs to be updated from time to time.

@Trott
Copy link
Member

Trott commented Nov 4, 2017

@cjihrig Would I be able to talk you into writing a short maintaining-eslint.md guide like the one that's being worked on for npm.md, and the one that exists for V8? Obviously ESLint is not packaged for userland, but it's still a thing that needs to be updated from time to time.

The process for maintaining ESLint is documented in the form of the update-eslint.sh script. npm and V8 are considerably more complex as we ship with them etc. ESLint is just a build tool, so the script is sufficient. I suppose a guide, just in case someone is looking for it, that has 1-3 sentences pointing to the script would be 👍.

@maclover7
Copy link
Contributor

The process for maintaining ESLint is documented in the form of the update-eslint.sh script. npm and V8 are considerably more complex as we ship with them etc. ESLint is just a build tool, so the script is sufficient. I suppose a guide, just in case someone is looking for it, that has 1-3 sentences pointing to the script would be 👍.

Yep, just a few sentences should be okay, not looking for an essay or anything :)

@cjihrig
Copy link
Contributor Author

cjihrig commented Nov 6, 2017

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

@maclover7 I'll submit a follow up PR.

@joyeecheung
Copy link
Member

joyeecheung commented Nov 6, 2017

@maclover7 @cjihrig I think in the case of dependencies in tools, we should probably just document the updating process together because those are relatively no-fuss and don't need that many words to explain. (don't need to document them all at once tho, just suggesting we name it as something like maintaining-tools-dependencies.md and add more info later).

EDIT: although there are also gyp and icu which are a bit more compliated...but I still kinda want to see the guides in one place.

PR-URL: nodejs#16738
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
@cjihrig cjihrig merged commit 5f6d647 into nodejs:master Nov 6, 2017
@cjihrig cjihrig deleted the eslint branch November 6, 2017 15:12
cjihrig added a commit to cjihrig/node that referenced this pull request Nov 6, 2017
PR-URL: nodejs#16738
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
@cjihrig cjihrig mentioned this pull request Nov 6, 2017
@MylesBorins
Copy link
Contributor

This should be included in a larger backport of eslint to v6.x

gibfahn pushed a commit that referenced this pull request Dec 19, 2017
PR-URL: #16738
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This was referenced Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants