mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
14 lines
437 B
JavaScript
14 lines
437 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/mdn/content", (t) => {
|
|
const rootDir = "./test-repos/mdn-content";
|
|
const globPatterns = [ join(rootDir, "**/*.md") ];
|
|
const configPath = join(rootDir, ".markdownlint.jsonc");
|
|
return lintTestRepo(t, globPatterns, configPath);
|
|
});
|