Initial implementation of MD051/valid-link-fragments (refs #253, closes #495).

This commit is contained in:
Divlo 2022-01-26 00:21:08 +01:00 committed by David Anson
parent 62f5c85238
commit 33ee1cd85e
13 changed files with 250 additions and 24 deletions

View file

@ -262,5 +262,8 @@
"MD050": {
// Strong style should be consistent
"style": "consistent"
}
},
// MD051/valid-link-fragments - Link fragments should be valid
"MD051": true
}

View file

@ -236,4 +236,7 @@ MD049:
# MD050/strong-style - Strong style should be consistent
MD050:
# Strong style should be consistent
style: "consistent"
style: "consistent"
# MD051/valid-link-fragments - Link fragments should be valid
MD051: true

View file

@ -878,6 +878,16 @@
"strong-style": {
"$ref": "#/properties/MD050"
},
"MD051": {
"description": "MD051/valid-link-fragments - Link fragments should be valid",
"type": "boolean",
"default": true
},
"valid-link-fragments": {
"description": "MD051/valid-link-fragments - Link fragments should be valid",
"type": "boolean",
"default": true
},
"headings": {
"description": "headings - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
"type": "boolean",
@ -914,7 +924,7 @@
"default": true
},
"links": {
"description": "links - MD011, MD034, MD039, MD042",
"description": "links - MD011, MD034, MD039, MD042, MD051",
"type": "boolean",
"default": true
},