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#821
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/176
Author: @kitowiz
Created: 4/5/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (5)
12a51daAdding new rule for enforcing new lines at the end of file, fixes #8933eaf0bRenamed rule fore new line at EOF from MD046 to MD047cf259d4Updated MD047 name, desription and adjusted tests28dfe09Regenerated config schema and adjusted tests9c0554dadjusting fenced code without blank lines test for MD047📊 Changes
40 files changed (+129 additions, -57 deletions)
View changed files
📝
README.md(+2 -1)📝
doc/Rules.md(+26 -0)➕
lib/md047.js(+19 -0)📝
lib/rules.js(+2 -1)📝
schema/markdownlint-config-schema.json(+11 -1)📝
test/atx_heading_spacing.md(+1 -1)📝
test/break-all-the-rules.md(+1 -1)📝
test/bulleted_list_4_space_indent.md(+1 -1)📝
test/bulleted_list_not_at_beginning_of_line.md(+1 -1)📝
test/consecutive_blank_lines.md(+1 -1)📝
test/consistent_bullet_styles_asterisk.md(+1 -1)📝
test/consistent_bullet_styles_dash.md(+1 -1)📝
test/consistent_bullet_styles_plus.md(+1 -1)📝
test/detailed-results-MD030-warning-message.md(+1 -1)📝
test/detailed-results-MD041-MD050.md(+1 -1)📝
test/detailed-results-MD041-MD050.results.json(+10 -1)📝
test/fenced_code_without_blank_lines.md(+1 -1)📝
test/first_heading_bad_atx.md(+1 -1)📝
test/first_heading_bad_setext.md(+1 -1)📝
test/first_heading_good_atx.md(+1 -1)...and 20 more files
📄 Description
Adding new rule MD046 to check for files not ended with new line. Trying to implement new rule issue #89. I also adjusted tests and .md sample files to conform with this rule where necessary.
Please have a look and check if this would be good to merge in. I am happy to get feedback and suggestions.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.