mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-19 15:30:13 +01:00
Replace strip-json-comments dev dependency with jsonc-parser to handle trailing comments in JSONC test input (for mdn/content), update test repo snapshots.
This commit is contained in:
parent
555079da6d
commit
1769f70845
7 changed files with 20 additions and 32 deletions
|
|
@ -9,6 +9,6 @@ const { lintTestRepo } = require("./markdownlint-test-repos");
|
|||
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 configPath = join(rootDir, ".markdownlint.jsonc");
|
||||
return lintTestRepo(t, globPatterns, configPath);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue