markdownlint/test/markdownlint-test-extra-parse.mjs

14 lines
316 B
JavaScript
Raw Normal View History

// @ts-check
import test from "ava";
import { globby } from "globby";
import { lint } from "markdownlint/promise";
// Parses all Markdown files in all package dependencies
2021-12-27 22:40:44 +00:00
test("parseAllFiles", async(t) => {
t.plan(1);
2021-12-27 22:40:44 +00:00
const files = await globby("**/*.{md,markdown}");
await lint({ files });
2021-12-27 22:40:44 +00:00
t.pass();
});