mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 14:30:12 +01:00
Add MDN translated content repository to test-repos.js.
This commit is contained in:
parent
b9043c251d
commit
ff85dde7df
2 changed files with 10 additions and 1 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue