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 — doc: don't use useless constructors in stream.md by vsemozhetbyt · Pull Request #13145 · nodejs/node

Conversation

@vsemozhetbyt

@vsemozhetbyt vsemozhetbyt commented May 21, 2017

Copy link
Copy Markdown
Contributor
Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc, stream

Refs: http://eslint.org/docs/rules/no-useless-constructor

ES2015 provides a default class constructor if one is not specified. As such, it is unnecessary to provide an empty constructor or one that simply delegates into its parent class...

The constructors in these fragments could be completely removed to eliminate useless constructor promotion, but this would make the examples a bit bare, so I've decided to just add ellipses to hint at an extension of code.

Sorry, something went wrong.

Uh oh!

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

All reactions
@vsemozhetbyt
doc: don't use useless constructors in stream.md
a6af441
Refs: http://eslint.org/docs/rules/no-useless-constructor
@vsemozhetbyt vsemozhetbyt added doc Issues and PRs related to Node.js documentation. stream Issues and PRs related to Node.js streams. labels May 21, 2017
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. stream Issues and PRs related to Node.js streams. labels May 21, 2017
refack
refack approved these changes May 21, 2017
View reviewed changes

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

Sounds like a good idea

Sorry, something went wrong.

Uh oh!

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

All reactions
mcollina
mcollina approved these changes May 22, 2017
View reviewed changes

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

LGTM

Sorry, something went wrong.

Uh oh!

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

All reactions
danbev
danbev approved these changes May 22, 2017
View reviewed changes
cjihrig
cjihrig approved these changes May 22, 2017
View reviewed changes
jasnell
jasnell approved these changes May 22, 2017
View reviewed changes
@vsemozhetbyt

vsemozhetbyt commented May 24, 2017

Copy link
Copy Markdown
Contributor Author

Landed in 6af72d4

All reactions

Sorry, something went wrong.

Uh oh!

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

@vsemozhetbyt vsemozhetbyt closed this May 24, 2017
@vsemozhetbyt
vsemozhetbyt deleted the stream-no-useless-constructor branch May 24, 2017 00:56
vsemozhetbyt added a commit that referenced this pull request May 24, 2017
@vsemozhetbyt
doc: don't use useless constructors in stream.md
6af72d4
PR-URL: #13145
Refs: http://eslint.org/docs/rules/no-useless-constructor
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
jasnell pushed a commit that referenced this pull request May 24, 2017
@vsemozhetbyt @jasnell
doc: don't use useless constructors in stream.md
af8e4de
PR-URL: #13145
Refs: http://eslint.org/docs/rules/no-useless-constructor
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
jasnell pushed a commit that referenced this pull request May 28, 2017
@vsemozhetbyt @jasnell
doc: don't use useless constructors in stream.md
db90b50
PR-URL: #13145
Refs: http://eslint.org/docs/rules/no-useless-constructor
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell jasnell mentioned this pull request May 28, 2017
8.0.0 Release Proposal #12220
Closed
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
Auditing for 6.11.1 nodejs/Release#230
Closed
2 of 3 tasks
MylesBorins pushed a commit that referenced this pull request Jul 17, 2017
@vsemozhetbyt @MylesBorins
doc: don't use useless constructors in stream.md
fb07fbc
PR-URL: #13145
Refs: http://eslint.org/docs/rules/no-useless-constructor
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins added the land-on-v6.x label Jul 17, 2017
@MylesBorins MylesBorins mentioned this pull request Jul 18, 2017
v6.11.2 proposal #14356
Merged
@ryan-ally ryan-ally mentioned this pull request Jun 20, 2023
[Snyk] Security upgrade eslint from 6.8.0 to 7.0.0 ryan-ally/node#80
Open
@aliscco aliscco mentioned this pull request Jun 20, 2023
[Snyk] Security upgrade eslint from 5.16.0 to 7.0.0 aliscco/alisco-node#420
Open
@ron-a20 ron-a20 mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities ron-a20/node#97
Open
@137717unity 137717unity mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities 137717unity/node#98
Open
@aliscco aliscco mentioned this pull request Jun 21, 2023
[Snyk] Security upgrade eslint from 4.19.1 to 7.0.0 aliscco/alisco-node#469
Open
@adamlaska adamlaska mentioned this pull request Jun 21, 2023
[Snyk] Security upgrade eslint from 5.16.0 to 7.0.0 adamlaska/node#107
Open
This was referenced Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#477
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#480
Open
@wedataintelligence wedataintelligence mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities wedataintelligence/node#80
Open
@MaxMood96 MaxMood96 mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities Mement-Mori/node#28
Open
This was referenced Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#506
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#508
Open
@baby636 baby636 mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities baby636/node#101
Open
@aliscco aliscco mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#518
Open
@MaxMood96 MaxMood96 mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities MaxMood96/node#33
Open
This was referenced Jun 22, 2023
[Snyk] Security upgrade eslint from 4.12.1 to 7.0.0 aliscco/alisco-node#541
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#543
Open
[Snyk] Security upgrade eslint from 4.12.1 to 7.0.0 aliscco/alisco-node#546
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#548
Open
[Snyk] Security upgrade eslint from 6.8.0 to 7.0.0 aliscco/alisco-node#561
Open
[Snyk] Security upgrade eslint from 6.8.0 to 7.0.0 aliscco/alisco-node#563
Open
[Snyk] Security upgrade eslint from 5.16.0 to 7.0.0 aliscco/alisco-node#570
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#571
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#574
Open
[Snyk] Security upgrade eslint from 4.19.1 to 7.0.0 aliscco/alisco-node#592
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#598
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#611
Open
@kissofire kissofire mentioned this pull request Jun 25, 2023
[Snyk] Fix for 28 vulnerabilities kissofire/node#102
Open
This was referenced Jul 6, 2023
[Snyk] Fix for 9 vulnerabilities leonardoadame/node#26
Open
[Snyk] Fix for 4 vulnerabilities leonardoadame/node#63
Open
[Snyk] Fix for 11 vulnerabilities leonardoadame/node#68
Open
[Snyk] Fix for 8 vulnerabilities leonardoadame/node#70
Open
[Snyk] Fix for 22 vulnerabilities leonardoadame/node#75
Open
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#77
Open
[Snyk] Fix for 22 vulnerabilities leonardoadame/node#89
Open
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#104
Open
[Snyk] Fix for 9 vulnerabilities leonardoadame/node#128
Open
[Snyk] Fix for 3 vulnerabilities leonardoadame/node#139
Open
[Snyk] Security upgrade eslint from 4.19.1 to 7.0.0 leonardoadame/node#141
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mcollina mcollina mcollina approved these changes
@jasnell jasnell jasnell approved these changes
@cjihrig cjihrig cjihrig approved these changes
+2 more reviewers
@refack refack refack approved these changes
@danbev danbev danbev 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

doc Issues and PRs related to Node.js documentation. stream Issues and PRs related to Node.js streams.

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.

8 participants

@vsemozhetbyt @mcollina @refack @danbev @jasnell @cjihrig @MylesBorins @nodejs-github-bot
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.