David Anson
|
92cd6d51cb
|
Add tests for previous commit to avoid invoking Micromark parser when not needed, improve type definitions slightly (closes #1564).
|
2025-04-20 04:59:27 +00:00 |
|
Yury Puzynya
|
759c31760e
|
Avoid invoking Micromark parser when no Micromark-based rules are in effect.
|
2025-04-20 04:58:27 +00:00 |
|
David Anson
|
63147ee1eb
|
Add comprehensive tests for parseConfiguration function, handle non-object parser results consistently (fixes #1523).
|
2025-03-01 18:23:48 -08:00 |
|
David Anson
|
1f237e6c54
|
Refactor to move parseConfiguration function into a separate file, add stronger typing, add first test case.
|
2025-02-28 20:26:06 -08:00 |
|
David Anson
|
44c302fe0b
|
Allow options.markdownItFactory to be implemented asynchronously so the markdown-it parser import can be deferred.
|
2025-02-08 15:08:10 -08:00 |
|
David Anson
|
d4b981bcb3
|
Introduce options.markdownItFactory (and remove options.markdownItPlugins) so the markdown-it parser can be removed as a direct dependency because it is no longer used by default.
|
2025-02-08 15:08:06 -08:00 |
|
David Anson
|
53ff5c43f1
|
Stop using module.createRequire (problematic under webpack), incorporate and export resolveModule helper from markdownlint-cli2.
|
2025-01-14 23:30:09 -08:00 |
|
David Anson
|
a009407088
|
Add support for "browser" condition (e.g., as used by Webpack) by stubbing-away Node imports (fixes #1441).
|
2024-12-11 18:48:54 -08:00 |
|
David Anson
|
8da43dd246
|
Update to use named exports via / /async /promise /sync, simplify references via self-referencing, refine examples.
|
2024-12-03 19:58:47 -08:00 |
|
David Anson
|
789190962c
|
Remove import of node:util and manually implement promisify (improves browser scenario), improve JSDoc typing.
|
2024-11-30 21:44:37 -08:00 |
|
David Anson
|
3599f694ba
|
Move micromark-parse.mjs from helpers to library, remove all dependencies from helpers.
|
2024-11-30 20:42:14 -08:00 |
|
David Anson
|
1e71f6f44e
|
Convert markdownlint library to an ECMAScript module, replace markdownlint-micromark with micromark, stop publishing (large) markdownlint-browser.js, see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c for guidance.
|
2024-11-29 18:29:21 -08:00 |
|