[GH-ISSUE #81] Rule request: one sentence per line #66

Closed
opened 2026-03-03 01:23:26 +03:00 by kerem · 5 comments
Owner

Originally created by @JoshuaKGoldberg on GitHub (Oct 22, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/81

A lot of markdown commits are small corrections such as spelling or grammar fixes. Having multiple sentences in a line increases the git commit diff size for these smaller fixes. It's good to follow all sentence-ending periods with an endline to reduce the chance of conflicts.

For documentation that tends towards long sentences, this can be a good alternative to strict line lengths.

Originally created by @JoshuaKGoldberg on GitHub (Oct 22, 2017). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/81 A lot of markdown commits are small corrections such as spelling or grammar fixes. Having multiple sentences in a line increases the git commit diff size for these smaller fixes. It's good to follow all sentence-ending periods with an endline to reduce the chance of conflicts. For documentation that tends towards long sentences, this can be a good alternative to strict line lengths.
kerem 2026-03-03 01:23:26 +03:00
  • closed this issue
  • added the
    new rule
    label
Author
Owner

@DavidAnson commented on GitHub (Oct 22, 2017):

Great idea! This is a pattern I try to follow myself.

<!-- gh-comment-id:338508383 --> @DavidAnson commented on GitHub (Oct 22, 2017): Great idea! This is a pattern I try to follow myself.
Author
Owner

@KvanTTT commented on GitHub (Oct 28, 2017):

Also, I suggest an 80-line string length pattern (80 can be changed to another custom value).

<!-- gh-comment-id:340191556 --> @KvanTTT commented on GitHub (Oct 28, 2017): Also, I suggest an 80-line string length pattern (80 can be changed to another custom value).
Author
Owner

@DavidAnson commented on GitHub (Oct 28, 2017):

@KvanTTT That exists: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013

<!-- gh-comment-id:340208505 --> @DavidAnson commented on GitHub (Oct 28, 2017): @KvanTTT That exists: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013
Author
Owner

@KvanTTT commented on GitHub (Oct 28, 2017):

Cool! This was not working for me: disabled in VSCode extension by default :)

<!-- gh-comment-id:340210940 --> @KvanTTT commented on GitHub (Oct 28, 2017): Cool! This was not working for me: disabled in VSCode extension by default :)
Author
Owner

@DavidAnson commented on GitHub (Dec 18, 2017):

Closing as duplicate of #66.

<!-- gh-comment-id:352324800 --> @DavidAnson commented on GitHub (Dec 18, 2017): Closing as duplicate of #66.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#66
No description provided.