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 |
|
David Anson
|
33631a5984
|
Split micromark.cjs into separate -parse and -helpers files.
|
2024-09-28 16:26:38 -07:00 |
|
David Anson
|
dfcb4529f3
|
Cache all top-level calls to filterByTypes (~7% runtime reduction).
|
2024-08-24 22:05:16 -07:00 |
|
David Anson
|
96354678dc
|
Reimplement MD024/no-duplicate-heading using micromark tokens.
|
2024-06-19 21:05:50 -07:00 |
|
David Anson
|
d5994ae4de
|
Add Rule.parser property for custom rules to specify which Markdown parser output they use, honor it strictly, and add full type support.
|
2024-03-13 20:55:57 -07:00 |
|
David Anson
|
12c4f79604
|
Add parsers object to RuleParams type, annotate every rule definition with Rule type for better type validation.
|
2024-02-27 20:42:09 -08:00 |
|
David Anson
|
f2725178b1
|
Update MD024/no-duplicate-heading to remove duplicate parameter allow_different_nesting which confuses people.
|
2023-12-05 19:23:17 -08:00 |
|
David Anson
|
a9a77940c5
|
Remove rule aliases for "header" (deprecated in v0.9.0).
|
2023-11-09 20:05:30 -08:00 |
|
David Anson
|
3238ed4249
|
Update all rules to better handle wrongly-typed configuration parameters.
|
2020-01-25 18:40:39 -08:00 |
|
David Anson
|
7e980401b8
|
Expose shared.js helper code for custom rule authors (fixes #134).
|
2019-04-13 11:18:57 -07:00 |
|
David Anson
|
9b9532e163
|
Add includesSorted function, use for faster searches of sorted arrays.
|
2019-03-28 22:06:42 -07:00 |
|
David Anson
|
d76ede1c4f
|
Update MD024/no-duplicate-heading to allow non-sibling duplicates (fixes #136).
|
2018-07-19 21:49:30 -07:00 |
|
David Anson
|
213aef4564
|
Convert var to const/let (except in browser-only code).
|
2018-04-27 22:05:34 -07:00 |
|
Milos Levacic
|
45424cf459
|
Change "header" to "heading" across the library
This should be backward compatible, as all "header" aliases are still
available, though documented as discouraged for future use.
|
2018-04-18 22:27:48 -07:00 |
|
David Anson
|
9ba143555d
|
Move each rule implementation into its own file (fixes #83).
|
2018-01-21 21:44:25 -08:00 |
|