mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update all links to rules to use md000.md instead of Rules.md#md000 (shorter, quicker, less distraction).
This commit is contained in:
parent
37baddcf27
commit
13b4340747
10 changed files with 1771 additions and 1771 deletions
|
|
@ -164,7 +164,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleAlias": "no-multiple-space-closed-atx",
|
||||
"ruleDescription":
|
||||
"Multiple spaces inside hashes on closed atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md021`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md021.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "# Multiple spa...tyle heading #",
|
||||
"errorRange": [ 1, 4 ] }
|
||||
|
|
@ -174,7 +174,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleName": "MD002",
|
||||
"ruleAlias": "first-heading-h1",
|
||||
"ruleDescription": "First heading should be a top-level heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md002`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md002.md`,
|
||||
"errorDetail": "Expected: h1; Actual: h2",
|
||||
"errorContext": null,
|
||||
"errorRange": null },
|
||||
|
|
@ -182,7 +182,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleName": "MD018",
|
||||
"ruleAlias": "no-missing-space-atx",
|
||||
"ruleDescription": "No space after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md018`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md018.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "#Heading 1 {MD018}",
|
||||
"errorRange": [ 1, 2 ] },
|
||||
|
|
@ -190,7 +190,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleName": "MD019",
|
||||
"ruleAlias": "no-multiple-space-atx",
|
||||
"ruleDescription": "Multiple spaces after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md019`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md019.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "## Heading 2 {MD019}",
|
||||
"errorRange": [ 1, 5 ] },
|
||||
|
|
@ -198,7 +198,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleName": "MD019",
|
||||
"ruleAlias": "no-multiple-space-atx",
|
||||
"ruleDescription": "Multiple spaces after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md019`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md019.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "## Heading 3 {MD019}",
|
||||
"errorRange": [ 1, 6 ] }
|
||||
|
|
@ -208,7 +208,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"ruleName": "MD002",
|
||||
"ruleAlias": "first-heading-h1",
|
||||
"ruleDescription": "First heading should be a top-level heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md002`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md002.md`,
|
||||
"errorDetail": "Expected: h1; Actual: h2",
|
||||
"errorContext": null,
|
||||
"errorRange": null }
|
||||
|
|
@ -266,7 +266,7 @@ test("resultFormattingV2", (t) => new Promise((resolve) => {
|
|||
"ruleNames": [ "MD021", "no-multiple-space-closed-atx" ],
|
||||
"ruleDescription":
|
||||
"Multiple spaces inside hashes on closed atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md021`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md021.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "# Multiple spa...tyle heading #",
|
||||
"errorRange": [ 1, 4 ] }
|
||||
|
|
@ -275,28 +275,28 @@ test("resultFormattingV2", (t) => new Promise((resolve) => {
|
|||
{ "lineNumber": 3,
|
||||
"ruleNames": [ "MD002", "first-heading-h1", "first-header-h1" ],
|
||||
"ruleDescription": "First heading should be a top-level heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md002`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md002.md`,
|
||||
"errorDetail": "Expected: h1; Actual: h2",
|
||||
"errorContext": null,
|
||||
"errorRange": null },
|
||||
{ "lineNumber": 1,
|
||||
"ruleNames": [ "MD018", "no-missing-space-atx" ],
|
||||
"ruleDescription": "No space after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md018`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md018.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "#Heading 1 {MD018}",
|
||||
"errorRange": [ 1, 2 ] },
|
||||
{ "lineNumber": 3,
|
||||
"ruleNames": [ "MD019", "no-multiple-space-atx" ],
|
||||
"ruleDescription": "Multiple spaces after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md019`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md019.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "## Heading 2 {MD019}",
|
||||
"errorRange": [ 1, 5 ] },
|
||||
{ "lineNumber": 5,
|
||||
"ruleNames": [ "MD019", "no-multiple-space-atx" ],
|
||||
"ruleDescription": "Multiple spaces after hash on atx style heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md019`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md019.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "## Heading 3 {MD019}",
|
||||
"errorRange": [ 1, 6 ] }
|
||||
|
|
@ -305,7 +305,7 @@ test("resultFormattingV2", (t) => new Promise((resolve) => {
|
|||
{ "lineNumber": 1,
|
||||
"ruleNames": [ "MD002", "first-heading-h1", "first-header-h1" ],
|
||||
"ruleDescription": "First heading should be a top-level heading",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md002`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md002.md`,
|
||||
"errorDetail": "Expected: h1; Actual: h2",
|
||||
"errorContext": null,
|
||||
"errorRange": null }
|
||||
|
|
@ -359,7 +359,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"lineNumber": 1,
|
||||
"ruleNames": [ "MD009", "no-trailing-spaces" ],
|
||||
"ruleDescription": "Trailing spaces",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md009`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md009.md`,
|
||||
"errorDetail": "Expected: 0 or 2; Actual: 3",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 10, 3 ],
|
||||
|
|
@ -372,7 +372,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"lineNumber": 3,
|
||||
"ruleNames": [ "MD010", "no-hard-tabs" ],
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 5",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 5, 1 ],
|
||||
|
|
@ -386,7 +386,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"lineNumber": 3,
|
||||
"ruleNames": [ "MD010", "no-hard-tabs" ],
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 10",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 10, 2 ],
|
||||
|
|
@ -400,7 +400,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"lineNumber": 4,
|
||||
"ruleNames": [ "MD037", "no-space-in-emphasis" ],
|
||||
"ruleDescription": "Spaces inside emphasis markers",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md037`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md037.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": "* emphasis *",
|
||||
"errorRange": [ 6, 12 ],
|
||||
|
|
@ -414,7 +414,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
|
|||
"lineNumber": 4,
|
||||
"ruleNames": [ "MD047", "single-trailing-newline" ],
|
||||
"ruleDescription": "Files should end with a single newline character",
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/Rules.md#md047`,
|
||||
"ruleInformation": `${homepage}/blob/v${version}/doc/md047.md`,
|
||||
"errorDetail": null,
|
||||
"errorContext": null,
|
||||
"errorRange": [ 22, 1 ],
|
||||
|
|
@ -482,7 +482,7 @@ test("onePerLineResultVersion1", (t) => new Promise((resolve) => {
|
|||
"ruleAlias": "no-hard-tabs",
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation":
|
||||
`${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
`${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 10",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 10, 1 ]
|
||||
|
|
@ -512,7 +512,7 @@ test("onePerLineResultVersion2", (t) => new Promise((resolve) => {
|
|||
"ruleNames": [ "MD010", "no-hard-tabs" ],
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation":
|
||||
`${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
`${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 10",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 10, 1 ]
|
||||
|
|
@ -541,7 +541,7 @@ test("manyPerLineResultVersion3", (t) => new Promise((resolve) => {
|
|||
"ruleNames": [ "MD010", "no-hard-tabs" ],
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation":
|
||||
`${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
`${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 10",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 10, 1 ],
|
||||
|
|
@ -556,7 +556,7 @@ test("manyPerLineResultVersion3", (t) => new Promise((resolve) => {
|
|||
"ruleNames": [ "MD010", "no-hard-tabs" ],
|
||||
"ruleDescription": "Hard tabs",
|
||||
"ruleInformation":
|
||||
`${homepage}/blob/v${version}/doc/Rules.md#md010`,
|
||||
`${homepage}/blob/v${version}/doc/md010.md`,
|
||||
"errorDetail": "Column: 18",
|
||||
"errorContext": null,
|
||||
"errorRange": [ 18, 2 ],
|
||||
|
|
@ -591,7 +591,7 @@ test("frontMatterResultVersion3", (t) => new Promise((resolve) => {
|
|||
[ "MD022", "blanks-around-headings", "blanks-around-headers" ],
|
||||
"ruleDescription": "Headings should be surrounded by blank lines",
|
||||
"ruleInformation":
|
||||
`${homepage}/blob/v${version}/doc/Rules.md#md022`,
|
||||
`${homepage}/blob/v${version}/doc/md022.md`,
|
||||
"errorDetail": "Expected: 1; Actual: 0; Below",
|
||||
"errorContext": "# Heading",
|
||||
"errorRange": null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue