mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-18 06:50:12 +01:00
Update test repo snapshots.
This commit is contained in:
parent
2d4ab55cb3
commit
936a7120d7
3 changed files with 1 additions and 26 deletions
|
|
@ -74,6 +74,7 @@
|
||||||
"node": ">=20"
|
"node": ">=20"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@electron/lint-roller": "^3.1.2",
|
||||||
"micromark": "4.0.2",
|
"micromark": "4.0.2",
|
||||||
"micromark-core-commonmark": "2.0.3",
|
"micromark-core-commonmark": "2.0.3",
|
||||||
"micromark-extension-directive": "4.0.0",
|
"micromark-extension-directive": "4.0.0",
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
// @ts-check
|
|
||||||
|
|
||||||
import path from "node:path";
|
|
||||||
const { join } = path.posix;
|
|
||||||
import test from "ava";
|
|
||||||
import { lintTestRepo } from "./markdownlint-test-repos.mjs";
|
|
||||||
|
|
||||||
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, true);
|
|
||||||
});
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
// @ts-check
|
|
||||||
|
|
||||||
import path from "node:path";
|
|
||||||
const { join } = path.posix;
|
|
||||||
import test from "ava";
|
|
||||||
import { lintTestRepo } from "./markdownlint-test-repos.mjs";
|
|
||||||
|
|
||||||
test("https://github.com/mdn/content", (t) => {
|
|
||||||
const rootDir = "./test-repos/mdn-content";
|
|
||||||
const globPatterns = [ join(rootDir, "**/*.md") ];
|
|
||||||
const configPath = join(rootDir, ".markdownlint-cli2.jsonc");
|
|
||||||
return lintTestRepo(t, globPatterns, configPath, true);
|
|
||||||
});
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue