-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown: should we require one sentence per line? #25
Comments
@scottrigby nice references! I like the article linked from denver.org https://rhodesmill.org/brandon/2012/one-sentence-per-line/ I agree that semantic line breaks / one sentence per line makes it easier to review changes. |
@scottrigby I like the semantics breaks. It's also easy on eyes, doesn't need to read a statement twice to make sense of. Here's my +1 on this. |
Could we add this as a requirement to the ci pipeline / linter maybe? |
@JoshuaKGoldberg pointed me here JoshuaKGoldberg/sentences-per-line#6 and said it should be doable, the rule is basically a glorified regular expression |
It would be an honor to have my teeny markdownlint rule used here |
@JoshuaKGoldberg Do you know if it's possible to in include your rule in https://github.com/github/super-linter? Markdownlint is called here: https://github.com/github/super-linter/blob/c58bab262756890004e5bbb3cf8744ed1e6174c4/lib/linter.sh#L1646 |
😕 no, it looks like it's not possible to include custom Alternately, maybe super-linter could take an issue to allow configuring those things? I haven't used it enough to know their project ethos very well. |
@JoshuaKGoldberg Maybe add the @JoshuaKGoldberg You may be able to use the @JoshuaKGoldberg I added a note to the issue above to address one of the concerns therein. Everyone: The Everyone: you may also be interested in this issue with a somewhat more detailed discussion of line breaking: DavidAnson/markdownlint#298 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
…acProxy [prometheus-blackbox-exporter] Allow to enable kube-rbac-proxy for prometheus-blackbox-exporter
📊 Maintainers poll: should we require one sentence per line in markdown files?
I initially removed these from the READMEs where they existed, but am rethinking that now. I removed them because they were not consistent. But maybe it's better to make them consistent the other way, by adding them back, and then requiring that moving ahead. https://sembr.org/ makes a compelling case for this, and I'm inclined to agree.
This issue is only about whether maintainers also agree, and want this to be part of this repo style guide. Thoughts?
Also see this related issue about whether to enforce markdownlint in general: #19
For options, see:
The text was updated successfully, but these errors were encountered: