mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DavidAnson/markdownlint/pull/719
Author: @aepfli
Created: 2/14/2023
Status: ❌ Closed
Base:
next← Head:one_sentence_per_line📝 Commits (5)
8634b5eAdded One Sentence per line rule (#66)30f322aimproving detection and adding testcasesf0d7038improving detection and adding testcasesde10ce8Adding more test cases8842e1bdifferent approach with usage of tokens📊 Changes
19 files changed (+2383 additions, -6 deletions)
View changed files
📝
README.md(+2 -0)📝
demo/markdownlint-browser.js(+102 -2)➕
demo/markdownlint-rule-helpers-browser.js(+1274 -0)➕
demo/markdownlint-rule-helpers-browser.min.js(+2 -0)➕
doc-build/md054.md(+26 -0)📝
doc/Rules.md(+47 -0)➕
doc/md054.md(+44 -0)📝
lib/constants.js(+2 -1)➕
lib/md054.js(+81 -0)📝
lib/rules.js(+2 -1)📝
schema/.markdownlint.jsonc(+24 -0)📝
schema/.markdownlint.yaml(+20 -0)📝
schema/build-config-schema.js(+30 -0)📝
schema/markdownlint-config-schema.json(+56 -0)📝
test/markdownlint-test.js(+2 -2)➕
test/sentences-per-line.json(+19 -0)➕
test/sentences-per-line.md(+87 -0)📝
test/snapshots/markdownlint-test-scenarios.js.md(+563 -0)📝
test/snapshots/markdownlint-test-scenarios.js.snap(+0 -0)📄 Description
New configurable and fixable rule to fix ensure only one sentence per line. It is configurable, what defines the ending of a sentence as well as ignored words.
Additionally to the new rule, i adapted the logic to create the yaml file, as it did not work properly with arrays.
Signed-off-by: Simon Schrottner simon.schrottner@dynatrace.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.