Move micromark-parse.mjs from helpers to library, remove all dependencies from helpers.

This commit is contained in:
David Anson 2024-11-30 20:42:14 -08:00
parent 1e71f6f44e
commit 3599f694ba
7 changed files with 6 additions and 14 deletions

View file

@ -1,5 +1,5 @@
import { readFile } from "node:fs/promises";
import { parse } from "../helpers/micromark-parse.mjs";
import { parse } from "../lib/micromark-parse.mjs";
import library from "../lib/markdownlint.mjs";
const markdownlint = library.promises.markdownlint;

View file

@ -4,7 +4,7 @@ import fs from "node:fs/promises";
import test from "ava";
import { newLineRe } from "../helpers/helpers.cjs";
import { filterByPredicate, filterByTypes } from "../helpers/micromark-helpers.cjs";
import { getEvents, parse } from "../helpers/micromark-parse.mjs";
import { getEvents, parse } from "../lib/micromark-parse.mjs";
const testContent = new Promise((resolve, reject) => {
fs