Add https://github.com/mdn/content to test-repos scenario, ignore new MD034 issues for now (fixes #607).

This commit is contained in:
David Anson 2022-12-14 23:04:47 -08:00
parent e8ec7bd94f
commit 6e38259a4a
2 changed files with 10 additions and 1 deletions

View file

@ -143,6 +143,14 @@ test("https://github.com/eslint/eslint", (t) => {
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
});
test("https://github.com/mdn/content", (t) => {
const rootDir = "./test-repos/mdn-content";
const globPatterns = [ join(rootDir, "**/*.md") ];
const configPath = join(rootDir, ".markdownlint-cli2.jsonc");
const ignoreRes = [ /^[^:]+: \d+: MD034\/.*$\r?\n?/gm ];
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
});
test("https://github.com/mkdocs/mkdocs", (t) => {
const rootDir = "./test-repos/mkdocs-mkdocs";
const globPatterns = [