2023-12-30 19:14:31 -08:00
|
|
|
// @ts-check
|
|
|
|
|
|
2024-11-28 20:36:44 -08:00
|
|
|
import path from "node:path";
|
|
|
|
|
const { join } = path.posix;
|
|
|
|
|
import test from "ava";
|
|
|
|
|
import { lintTestRepo } from "./markdownlint-test-repos.mjs";
|
2023-12-30 19:14:31 -08:00
|
|
|
|
|
|
|
|
test("https://github.com/mdn/content", (t) => {
|
|
|
|
|
const rootDir = "./test-repos/mdn-content";
|
|
|
|
|
const globPatterns = [ join(rootDir, "**/*.md") ];
|
2024-05-25 18:18:32 -07:00
|
|
|
const configPath = join(rootDir, ".markdownlint-cli2.jsonc");
|
2025-08-19 21:42:08 -07:00
|
|
|
return lintTestRepo(t, globPatterns, configPath, { "table-column-style": false }, true);
|
2023-12-30 19:14:31 -08:00
|
|
|
});
|