mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Update lint-test-repos scenarios to restore an exclusion that is still needed.
This commit is contained in:
parent
c7d74cf6c0
commit
b6ea481c23
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@ test("https://github.com/eslint/eslint", (t) => {
|
||||||
const rootDir = "./test-repos/eslint-eslint";
|
const rootDir = "./test-repos/eslint-eslint";
|
||||||
const globPatterns = [ join(rootDir, "docs/**/*.md") ];
|
const globPatterns = [ join(rootDir, "docs/**/*.md") ];
|
||||||
const configPath = join(rootDir, ".markdownlint.yml");
|
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) => {
|
test("https://github.com/mkdocs/mkdocs", (t) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue