Add MDN translated content repository to test-repos.js.

This commit is contained in:
David Anson 2023-01-15 18:01:48 -08:00
parent b9043c251d
commit ff85dde7df
2 changed files with 10 additions and 1 deletions

View file

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