mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
15 lines
442 B
JavaScript
15 lines
442 B
JavaScript
![]() |
// @ts-check
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
const { join } = require("node:path").posix;
|
||
|
const test = require("ava").default;
|
||
|
const { lintTestRepo } = require("./markdownlint-test-repos");
|
||
|
|
||
|
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);
|
||
|
});
|