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: add no-duplicate-requires rule by devsnek · Pull Request #21712 · nodejs/node

Conversation

@devsnek

@devsnek devsnek commented Jul 8, 2018

Copy link
Copy Markdown
Member

/cc @nodejs/linting

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

Sorry, something went wrong.

Uh oh!

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

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot

nodejs-github-bot commented Jul 8, 2018

Copy link
Copy Markdown
Collaborator

@devsnek build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/226/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 lib / src Issues and PRs involving general changes in the lib/ or src/ directories. label Jul 8, 2018
richardlau
richardlau approved these changes Jul 8, 2018
View reviewed changes
richardlau
richardlau reviewed Jul 8, 2018
View reviewed changes

@richardlau richardlau 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.

A test for the custom rule would be good.

Sorry, something went wrong.

Uh oh!

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

All reactions
@devsnek
devsnek force-pushed the feature/linter-no-duplicate-requires-rule branch from 38b0037 to 10d3bb2 Compare July 8, 2018 23:31
@devsnek

devsnek commented Jul 8, 2018

Copy link
Copy Markdown
Member Author

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

All reactions

Sorry, something went wrong.

Uh oh!

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

TimothyGu
TimothyGu approved these changes Jul 9, 2018
View reviewed changes
Comment thread doc/api/worker_threads.md Outdated

@TimothyGu TimothyGu Jul 9, 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.

This should instead use worker_threads.parentPort (see #21486). Might be helpful to apply that first.

Sorry, something went wrong.

Uh oh!

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

All reactions
@Trott

Trott commented Jul 9, 2018

Copy link
Copy Markdown
Member

I wonder if this might be subsequently upstreamable to ESLint core.

starkwang and maclover7 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

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

starkwang
starkwang approved these changes Jul 9, 2018
View reviewed changes
@devsnek
devsnek force-pushed the feature/linter-no-duplicate-requires-rule branch from 10d3bb2 to 9b92f50 Compare July 10, 2018 03:35
@devsnek

devsnek commented Jul 10, 2018

Copy link
Copy Markdown
Member Author

CI after rebasing: https://ci.nodejs.org/job/node-test-pull-request/15779/

All reactions

Sorry, something went wrong.

Uh oh!

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

jasnell
jasnell approved these changes Jul 10, 2018
View reviewed changes
@Trott

Trott commented Jul 10, 2018

Copy link
Copy Markdown
Member

Looks like it needs another rebase due to a PR I just landed. Sorry.

All reactions

Sorry, something went wrong.

Uh oh!

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

@devsnek
devsnek force-pushed the feature/linter-no-duplicate-requires-rule branch from 9b92f50 to a1e019b Compare July 10, 2018 20:50
@addaleax addaleax added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Jul 10, 2018
@addaleax

addaleax commented Jul 10, 2018

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

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

maclover7
maclover7 approved these changes Jul 12, 2018
View reviewed changes
@Trott

Trott commented Jul 12, 2018

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@Trott

Trott commented Jul 12, 2018

Copy link
Copy Markdown
Member

Windows fanned is "Resume Build"-resistant so here's a Rebuild instead: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19249/

All reactions

Sorry, something went wrong.

Uh oh!

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

@Trott

Trott commented Jul 12, 2018

Copy link
Copy Markdown
Member

(All green in CI.)

All reactions

Sorry, something went wrong.

Uh oh!

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

@devsnek

devsnek commented Jul 12, 2018 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member Author

landed in 8cae9b2

All reactions

Sorry, something went wrong.

Uh oh!

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

@devsnek devsnek closed this Jul 12, 2018
@devsnek
devsnek deleted the feature/linter-no-duplicate-requires-rule branch July 12, 2018 21:11
devsnek added a commit that referenced this pull request Jul 12, 2018
@devsnek
tools: add no-duplicate-requires rule
8cae9b2
PR-URL: #21712
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
targos pushed a commit that referenced this pull request Jul 14, 2018
@devsnek @targos
tools: add no-duplicate-requires rule
e030dd7
PR-URL: #21712
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
@targos targos mentioned this pull request Jul 17, 2018
v10.7.0 proposal #21851
Merged
@devsnek
devsnek restored the feature/linter-no-duplicate-requires-rule branch July 18, 2018 15:56
@devsnek devsnek reopened this Jul 18, 2018
@devsnek devsnek closed this Jul 18, 2018
@devsnek
devsnek force-pushed the feature/linter-no-duplicate-requires-rule branch from a1e019b to e406cca Compare July 18, 2018 15:56
@devsnek
devsnek deleted the feature/linter-no-duplicate-requires-rule branch July 18, 2018 15:56
This was referenced Jul 18, 2018
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#207
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#208
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#209
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#210
Closed
2018-07-18 Version 10.7.0 (Current) @targos beevelop/docker-nodejs#211
Closed
@targos targos removed the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@richardlau richardlau richardlau approved these changes
@jasnell jasnell jasnell approved these changes
+3 more reviewers
@TimothyGu TimothyGu TimothyGu approved these changes
@maclover7 maclover7 maclover7 approved these changes
@starkwang starkwang starkwang 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

lib / src Issues and PRs involving general changes in the lib/ or src/ directories.

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.

10 participants

@devsnek @nodejs-github-bot @Trott @addaleax @jasnell @TimothyGu @maclover7 @richardlau @starkwang @targos
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.