mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Add https://github.com/mdn/content to test-repos scenario, ignore new MD034 issues for now (fixes #607).
This commit is contained in:
parent
e8ec7bd94f
commit
6e38259a4a
2 changed files with 10 additions and 1 deletions
|
|
@ -143,6 +143,14 @@ test("https://github.com/eslint/eslint", (t) => {
|
|||
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
|
||||
});
|
||||
|
||||
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");
|
||||
const ignoreRes = [ /^[^:]+: \d+: MD034\/.*$\r?\n?/gm ];
|
||||
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
|
||||
});
|
||||
|
||||
test("https://github.com/mkdocs/mkdocs", (t) => {
|
||||
const rootDir = "./test-repos/mkdocs-mkdocs";
|
||||
const globPatterns = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue