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) => {