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
|
e0219411c6
|
Refactor RegExps to avoid the possibility of polynomial backtracking (fixes #657).
|
2024-10-05 18:07:45 -07: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
|
c8fd9eb4b3
|
Refactor to remove forEachLine and getLineMetadata helpers, reimplement MD012/MD018/MD020/MD031 using micromark tokens.
|
2024-08-17 17:58:16 -07:00 |
|
Fu Yuchen
|
6c8d0fdef8
|
Update MD018/no-missing-space-atx and MD020/no-missing-space-closed-atx to ignore the content of HTML blocks (fixes #1268).
|
2024-07-20 14:38:45 +09:00 |
|
David Anson
|
26466108e9
|
Add new rule MD058/blanks-around-tables (fixes #132).
|
2024-06-03 21:16:45 -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
|
a9a77940c5
|
Remove rule aliases for "header" (deprecated in v0.9.0).
|
2023-11-09 20:05:30 -08:00 |
|
David Anson
|
5aef3a4a51
|
Update MD018/MD019/MD020/MD021 to look specifically for "space" characters (space or tab) instead of RegExp's "\s" characters per CommonMark specification (fixes #367).
|
2021-02-03 22:05:07 -08:00 |
|
David Anson
|
84b6d935f5
|
Fix issue in MD020/no-missing-space-closed-atx that reported errors for single-character headers (fixes #229).
|
2019-10-24 20:18:16 -07:00 |
|
David Anson
|
33e3797084
|
Fix broken MD020/MD021/MD038 scenarios.
|
2019-09-19 21:39:59 -07:00 |
|
David Anson
|
316bfeadaa
|
Update MD018/MD019/MD020/MD021 to report fixInfo for violations.
|
2019-09-08 16:51:00 -07: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
|
f614f3e1ce
|
Remove state from shared.js, move to cache.js.
|
2019-04-10 21:26:59 -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
|
748c8cac17
|
Remove unnecessary params parameter to shared.flattenLists/forEachLine.
|
2018-03-04 23:06:31 -08:00 |
|
David Anson
|
9ba143555d
|
Move each rule implementation into its own file (fixes #83).
|
2018-01-21 21:44:25 -08:00 |
|