mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Make micromark-core-commonmark a direct dependency to satisfy strict dependency resolution (e.g., pnpm).
This commit is contained in:
parent
795eac22de
commit
ef70472df7
2 changed files with 3 additions and 2 deletions
|
@ -6,8 +6,8 @@ import { gfmFootnote } from "micromark-extension-gfm-footnote";
|
|||
import { gfmTable } from "micromark-extension-gfm-table";
|
||||
import { math } from "micromark-extension-math";
|
||||
import { parse as micromarkParse, postprocess as micromarkPostprocess, preprocess as micromarkPreprocess } from "micromark";
|
||||
// micromark-core-commonmark is not a dependency because this instance must match what's used by micromark
|
||||
// eslint-disable-next-line n/no-extraneous-import
|
||||
// micromark-core-commonmark must exactly match what's used by micromark for the shim below to work correctly
|
||||
// Unfortunately, omitting this dependency from package.json breaks strict dependency resolution (e.g., pnpm)
|
||||
import { labelEnd } from "micromark-core-commonmark";
|
||||
import { isHtmlFlowComment } from "../helpers/micromark-helpers.cjs";
|
||||
import { flatTokensSymbol, htmlFlowSymbol, newLineRe } from "../helpers/shared.cjs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue