Remove some ignores for external repository testing that are no longer needed.

This commit is contained in:
David Anson 2022-08-08 21:12:30 -07:00
parent ebf249b6cc
commit 2488a5c0ce

View file

@ -148,24 +148,13 @@ test("https://github.com/mkdocs/mkdocs", (t) => {
rootDir, rootDir,
"docs/CNAME", "docs/CNAME",
"docs/**/*.css", "docs/**/*.css",
"docs/**/*.png" "docs/**/*.png",
"docs/**/*.py",
"docs/**/*.svg"
) )
]; ];
const configPath = join(rootDir, ".markdownlintrc"); const configPath = join(rootDir, ".markdownlintrc");
const ignoreRes = [ return lintTestRepo(t, globPatterns, configPath);
/^[^:]+: \d+: MD051\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/about\/release-notes\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/dev-guide\/plugins\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/dev-guide\/themes\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/dev-guide\/translations\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/getting-started\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/user-guide\/configuration\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/user-guide\/customizing-your-theme\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/user-guide\/deploying-your-docs\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/user-guide\/installation\.md: \d+: MD053\/.*$\r?\n?/gm,
/^test-repos\/mkdocs-mkdocs\/docs\/user-guide\/writing-your-docs\.md: \d+: MD053\/.*$\r?\n?/gm
];
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
}); });
test("https://github.com/mochajs/mocha", (t) => { test("https://github.com/mochajs/mocha", (t) => {