mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
13 lines
316 B
JavaScript
13 lines
316 B
JavaScript
// @ts-check
|
|
|
|
import test from "ava";
|
|
import { globby } from "globby";
|
|
import { lint } from "markdownlint/promise";
|
|
|
|
// Parses all Markdown files in all package dependencies
|
|
test("parseAllFiles", async(t) => {
|
|
t.plan(1);
|
|
const files = await globby("**/*.{md,markdown}");
|
|
await lint({ files });
|
|
t.pass();
|
|
});
|