mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Address linting violation introduced due to not being able to run locally.
This commit is contained in:
parent
4767ebc6f1
commit
2b2dc27f24
1 changed files with 1 additions and 3 deletions
|
|
@ -234,9 +234,7 @@ if (existsSync(dotnetDocsDir)) {
|
||||||
const rootDir = dotnetDocsDir;
|
const rootDir = dotnetDocsDir;
|
||||||
const globPatterns = [ join(rootDir, "**/*.md") ];
|
const globPatterns = [ join(rootDir, "**/*.md") ];
|
||||||
const configPath = join(rootDir, ".markdownlint.json");
|
const configPath = join(rootDir, ".markdownlint.json");
|
||||||
const ignoreRes = [
|
const ignoreRes = [ /^test-repos\/dotnet-docs\/docs\/standard\/base-types\/composite-formatting\.md: \d+: MD038\/.*$\r?\n?/gm ];
|
||||||
/^test-repos\/dotnet-docs\/docs\/standard\/base-types\/composite-formatting\.md: \d+: MD038\/.*$\r?\n?/gm
|
|
||||||
];
|
|
||||||
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
|
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue