From b6ea481c230419099f0f451c19819dab7e861ff1 Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 18 May 2022 21:54:21 -0700 Subject: [PATCH] Update lint-test-repos scenarios to restore an exclusion that is still needed. --- test/markdownlint-test-repos.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/markdownlint-test-repos.js b/test/markdownlint-test-repos.js index 471e1469..3d190c7f 100644 --- a/test/markdownlint-test-repos.js +++ b/test/markdownlint-test-repos.js @@ -130,7 +130,8 @@ test("https://github.com/eslint/eslint", (t) => { const rootDir = "./test-repos/eslint-eslint"; const globPatterns = [ join(rootDir, "docs/**/*.md") ]; const configPath = join(rootDir, ".markdownlint.yml"); - return lintTestRepo(t, globPatterns, configPath); + const ignoreRes = [ /^[^:]+: \d+: MD051\/.*$\r?\n?/gm ]; + return lintTestRepo(t, globPatterns, configPath, ignoreRes); }); test("https://github.com/mkdocs/mkdocs", (t) => {