Skip to content

Commit

Permalink
Remove some ignores for external repository testing that are no longe…
Browse files Browse the repository at this point in the history
…r needed.
  • Loading branch information
DavidAnson committed Aug 9, 2022
1 parent ebf249b commit 2488a5c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions test/markdownlint-test-repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,24 +148,13 @@ test("https://github.com/mkdocs/mkdocs", (t) => {
rootDir,
"docs/CNAME",
"docs/**/*.css",
"docs/**/*.png"
"docs/**/*.png",
"docs/**/*.py",
"docs/**/*.svg"
)
];
const configPath = join(rootDir, ".markdownlintrc");
const ignoreRes = [
/^[^:]+: \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);
return lintTestRepo(t, globPatterns, configPath);
});

test("https://github.com/mochajs/mocha", (t) => {
Expand Down

0 comments on commit 2488a5c

Please sign in to comment.