Lint large test repos in parallel (via worker threads) for shorter run times.

This commit is contained in:
David Anson 2024-06-07 22:24:28 -07:00
parent 446fe901c3
commit e447db33c9
5 changed files with 68 additions and 6 deletions

View file

@ -10,5 +10,5 @@ test("https://github.com/dotnet/docs", (t) => {
const rootDir = "./test-repos/dotnet-docs";
const globPatterns = [ join(rootDir, "**/*.md") ];
const configPath = join(rootDir, ".markdownlint-cli2.jsonc");
return lintTestRepo(t, globPatterns, configPath);
return lintTestRepo(t, globPatterns, configPath, true);
});