Simplify test directory by moving all JSON configuration for scenario tests into the Markdown file via markdownlint-configure-file.

This commit is contained in:
David Anson 2023-03-15 21:26:22 -07:00
parent c49d37c382
commit 0ebcf248ca
265 changed files with 2184 additions and 1106 deletions

View file

@ -36,6 +36,7 @@ test("resultFormattingV0", (t) => new Promise((resolve) => {
"MD002": true,
"MD041": false
},
"noInlineConfig": true,
"resultVersion": 0
};
markdownlint(options, function callback(err, actualResult) {
@ -94,6 +95,7 @@ test("resultFormattingSyncV0", (t) => {
"MD002": true,
"MD041": false
},
"noInlineConfig": true,
"resultVersion": 0
};
const actualResult = markdownlint.sync(options);
@ -153,6 +155,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
"MD002": true,
"MD041": false
},
"noInlineConfig": true,
"resultVersion": 1
};
markdownlint(options, function callback(err, actualResult) {
@ -256,6 +259,7 @@ test("resultFormattingV2", (t) => new Promise((resolve) => {
"MD002": true,
"MD041": false
},
"noInlineConfig": true,
"resultVersion": 2
};
markdownlint(options, function callback(err, actualResult) {