Skip to content

lib: enforce use of trailing commas for functions - #46629

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:lib-function-dangle
Feb 14, 2023
Merged

lib: enforce use of trailing commas for functions#46629
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:lib-function-dangle

Conversation

@aduh95

Copy link
Copy Markdown
Contributor

That seems to be the smallest step forward in this work, but it's already quite a few lines of code to review, I'll try to find a way to split this further for the remaining trailing commas to add.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/http
  • @nodejs/loaders
  • @nodejs/modules
  • @nodejs/net
  • @nodejs/startup

@nodejs-github-botnodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Feb 12, 2023

@JakobJingleheimerJakobJingleheimer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Here here for trailing commas.

(I did not check every instance of the change, assuming it was an eslint autofix)

@aduh95aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Feb 12, 2023

@GeoffreyBoothGeoffreyBooth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

RSLGTM.

@aduh95
aduh95 merged commit fe514bf into nodejs:mainFeb 14, 2023
@aduh95

Copy link
Copy Markdown
ContributorAuthor

Landed in fe514bf

@aduh95
aduh95 deleted the lib-function-dangle branch February 14, 2023 17:45
MylesBorins pushed a commit that referenced this pull request Feb 18, 2023
PR-URL: #46629
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Feb 19, 2023
MylesBorins pushed a commit that referenced this pull request Feb 20, 2023
PR-URL: #46629
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
danielleadams pushed a commit that referenced this pull request Apr 11, 2023
PR-URL: #46629
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@aduh95@nodejs-github-bot@GeoffreyBooth@JakobJingleheimer@legendecas@VoltrexKeyva