From 936a7120d73db7956bfb5ed5eff1ce7047d21ce8 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 6 Jul 2025 23:12:45 +0000 Subject: [PATCH] Update test repo snapshots. --- package.json | 1 + test/markdownlint-test-repos-dotnet-docs.mjs | 13 ------------- test/markdownlint-test-repos-mdn-content.mjs | 13 ------------- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 test/markdownlint-test-repos-dotnet-docs.mjs delete mode 100644 test/markdownlint-test-repos-mdn-content.mjs diff --git a/package.json b/package.json index 9a33b92d..0a2137c0 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "node": ">=20" }, "dependencies": { + "@electron/lint-roller": "^3.1.2", "micromark": "4.0.2", "micromark-core-commonmark": "2.0.3", "micromark-extension-directive": "4.0.0", diff --git a/test/markdownlint-test-repos-dotnet-docs.mjs b/test/markdownlint-test-repos-dotnet-docs.mjs deleted file mode 100644 index b3a1ec41..00000000 --- a/test/markdownlint-test-repos-dotnet-docs.mjs +++ /dev/null @@ -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); -}); diff --git a/test/markdownlint-test-repos-mdn-content.mjs b/test/markdownlint-test-repos-mdn-content.mjs deleted file mode 100644 index 71d57968..00000000 --- a/test/markdownlint-test-repos-mdn-content.mjs +++ /dev/null @@ -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); -});