mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Move micromark-parse.mjs from helpers to library, remove all dependencies from helpers.
This commit is contained in:
parent
1e71f6f44e
commit
3599f694ba
7 changed files with 6 additions and 14 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue