mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Address new code analysis issues from previous commit.
This commit is contained in:
parent
6979d96c3f
commit
7a5416dd46
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function createTestForFile(file) {
|
||||||
.filter((error) => !!error.ruleInformation);
|
.filter((error) => !!error.ruleInformation);
|
||||||
for (const error of errors) {
|
for (const error of errors) {
|
||||||
error.ruleInformation =
|
error.ruleInformation =
|
||||||
error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0");
|
error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0");
|
||||||
}
|
}
|
||||||
// Match identified issues by MD### markers
|
// Match identified issues by MD### markers
|
||||||
const marker = /\{(MD\d+)(?::([-+]?)(\d+))?\}/g;
|
const marker = /\{(MD\d+)(?::([-+]?)(\d+))?\}/g;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue