mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[PR #845] [MERGED] Add MD054/link-style #2906
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#2906
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/845
Author: @tommy-gilligan
Created: 5/31/2023
Status: ✅ Merged
Merged: 10/25/2023
Merged by: @DavidAnson
Base:
md054← Head:next📝 Commits (10+)
6057bcfAdd MD054/link-style4d391d4Update break all the rules for MD054 link style19f19bcAdd more context to MD054 error9c3ef44fix: Forgot to update demo/markdownlint-browser.jscad0f7dAdd reference -> inline fix to MD054d9057bcRefactor MD054 Link stylesaee8a19Bring in PR feedback for MD0546353a32Update documentation from PR feedback69fc8c4Duplicate some doc fixes MD054 -> MD0538aa97fdMake link style tests sensitive to column offset📊 Changes
26 files changed (+1140 additions, -25 deletions)
View changed files
📝
README.md(+4 -2)📝
demo/markdownlint-browser.js(+126 -2)📝
doc-build/md053.md(+3 -3)➕
doc-build/md054.md(+11 -0)📝
doc/Rules.md(+31 -3)📝
doc/md053.md(+3 -3)➕
doc/md054.md(+25 -0)📝
lib/constants.js(+2 -1)➕
lib/md054.js(+134 -0)📝
lib/rules.js(+2 -1)📝
micromark/exports-html.mjs(+1 -1)📝
micromark/exports.mjs(+3 -3)📝
schema/.markdownlint.jsonc(+6 -0)📝
schema/.markdownlint.yaml(+5 -0)📝
schema/build-config-schema.js(+18 -0)📝
schema/markdownlint-config-schema.json(+30 -2)➕
test/link-style-autolink-only.md(+20 -0)➕
test/link-style-inline-only.md(+20 -0)➕
test/link-style-inline-or-autolink.md(+20 -0)➕
test/link-style-inline-or-reference.md(+20 -0)...and 6 more files
📄 Description
Discussion on #40 issue has not yet been concluded so this is probably a bit premature.
Tentatitve decision: Autolinks should be ignored
Tentatitve decision: All of these should be configurable but it is not clear to me what that should look like in the schema. I've skipped this for now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.