FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: enforce use of trailing commas in more files by aduh95 · Pull Request #46655 · nodejs/node · GitHub

/ node Public

lib: enforce use of trailing commas in more files - #46655

Merged
aduh95 merged 2 commits into
nodejs:mainfrom
aduh95:lib-dangle-misc
Feb 16, 2023
Merged

lib: enforce use of trailing commas in more files#46655
aduh95 merged 2 commits into
nodejs:mainfrom
aduh95:lib-dangle-misc

Conversation

aduh95 commented Feb 14, 2023

Copy link
Copy Markdown
Contributor

Some part of the codebase already use trailing commas, this commit is adding a lint rule to ensure it stays this way.
This commit also adds the rule for a few files that were missing only one or two trailing commas.

Some part of the codebase already use trailing commas, this commit is
adding a lint rule to ensure it stays this way.
This commit also adds the rule for a few files that were missing only
one or two trailing commas.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/loaders
  • @nodejs/modules
  • @nodejs/test_runner

nodejs-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 14, 2023

aduh95 commented Feb 16, 2023

Copy link
Copy Markdown
Contributor Author

/cc @nodejs/linting

targos commented Feb 16, 2023

Copy link
Copy Markdown
Member

Are we far from being able to enable it on the whole lib folder?

aduh95 commented Feb 16, 2023

Copy link
Copy Markdown
Contributor Author

Are we far from being able to enable it on the whole lib folder?

17 commits/PRs away :)

aduh95 added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. and removed needs-ci PRs that need a full CI run. labels Feb 16, 2023
aduh95 merged commit cbcefdf into nodejs:main Feb 16, 2023

aduh95 commented Feb 16, 2023

Copy link
Copy Markdown
Contributor Author

Landed in cbcefdf

aduh95 deleted the lib-dangle-misc branch February 16, 2023 17:47
MylesBorins pushed a commit that referenced this pull request Feb 18, 2023
Some part of the codebase already use trailing commas, this commit is
adding a lint rule to ensure it stays this way.
This commit also adds the rule for a few files that were missing only
one or two trailing commas.

PR-URL: #46655
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
MylesBorins mentioned this pull request Feb 19, 2023
MylesBorins pushed a commit that referenced this pull request Feb 20, 2023
Some part of the codebase already use trailing commas, this commit is
adding a lint rule to ensure it stays this way.
This commit also adds the rule for a few files that were missing only
one or two trailing commas.

PR-URL: #46655
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
danielleadams pushed a commit that referenced this pull request Apr 11, 2023
Some part of the codebase already use trailing commas, this commit is
adding a lint rule to ensure it stays this way.
This commit also adds the rule for a few files that were missing only
one or two trailing commas.

PR-URL: #46655
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. lib / src Issues 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.

5 participants


Back | FazBrowse Home | New Git URL