Add test to ensure all project version numbers match.

This commit is contained in:
David Anson 2025-11-25 14:48:55 -08:00
parent 9b116ae889
commit b4df555e7c
2 changed files with 36 additions and 4 deletions

View file

@ -979,7 +979,7 @@ All of which return an object like:
{ "lineNumber": 3,
"ruleNames": [ "MD010", "no-hard-tabs" ],
"ruleDescription": "Hard tabs",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md010.md",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md",
"errorDetail": "Column: 17",
"errorContext": null,
"errorRange": [ 17, 1 ],
@ -988,7 +988,7 @@ All of which return an object like:
{ "lineNumber": 1,
"ruleNames": [ "MD018", "no-missing-space-atx" ],
"ruleDescription": "No space after hash on atx style heading",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md",
"errorDetail": null,
"errorContext": "#bad.md",
"errorRange": [ 1, 2 ],
@ -997,7 +997,7 @@ All of which return an object like:
{ "lineNumber": 3,
"ruleNames": [ "MD018", "no-missing-space-atx" ],
"ruleDescription": "No space after hash on atx style heading",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md018.md",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md",
"errorDetail": null,
"errorContext": "#This file fails\tsome rules.",
"errorRange": [ 1, 2 ],
@ -1006,7 +1006,7 @@ All of which return an object like:
{ "lineNumber": 1,
"ruleNames": [ "MD041", "first-line-heading", "first-line-h1" ],
"ruleDescription": "First line in a file should be a top-level heading",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md041.md",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md041.md",
"errorDetail": null,
"errorContext": "#bad.md",
"errorRange": null,