Skip to content

unneded "." in pull-requests.md file #45502

Description

@nikitakoselev

Version

1af63a9

Platform

github

Subsystem

node/doc/contributing/pull-requests.md

What steps will reproduce the bug?

Intro:
Open the main branch, commit 1af63a9 of nodejs/node
File pull-requests.md

Bug:
There is an unneeded "." in the end of the "tests within the test directory." line.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

image

Additional information

I suggest this bug is marked with "good first time issue" so a new joiner could fix it.

Activity

  1. aduh95 commented on Nov 18, 2022

    @aduh95
    Contributor

    It's unclear to me if all items should end with a colon, or if no items should end with a colon. I agree that the lack of consistency is odd though.

    Refs: https://learn.microsoft.com/en-us/style-guide/scannable-content/lists#punctuation

    /cc @nodejs/documentation @Trott

  2. anonrig commented on Nov 18, 2022

    @anonrig
    Member

    I found a particular article mentioning this:

    Use a period after bullet list that completes the opening stem sentence that introduces it. Don't use a period after bullet lists that are not complete sentences or do not complete the opening stem sentence.

  3. Trott commented on Nov 19, 2022

    @Trott
    Member

    It's unclear to me if all items should end with a colon, or if no items should end with a colon. I agree that the lack of consistency is odd though.

    Refs: https://learn.microsoft.com/en-us/style-guide/scannable-content/lists#punctuation

    /cc @nodejs/documentation @Trott

    In this case, I would propose one of the following:

    1. Remove the list content entirely. It's not needed.

    2. Convert the list content into a sentence.

    Most pull requests in Node.js include changes to the C++ code
    in the `src` directory, the JavaScript code in the `lib` directory,
    documentation in the `doc/api` directory, and/or test in the `test` directory.
    1. Rewrite the sentence fragment introducing the list.
    Pull requests in Node.js typically involve changes to
    one or more of a few places in the code base.
    
    * C/C++ code contained in the `src` directory
    * JavaScript code contained in the `lib` directory
    * Documentation in `doc/api`
    * Tests within the `test` directory
  4. Trott commented on Nov 19, 2022

    @Trott
    Member

    I did option 3 in #45519.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions