David Anson
|
dfcb4529f3
|
Cache all top-level calls to filterByTypes (~7% runtime reduction).
|
2024-08-24 22:05:16 -07:00 |
|
David Anson
|
1513e3803b
|
Remove outdated type annotations and lint suppressions.
|
2024-06-21 21:03:37 -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
|
828ae3541a
|
Use @type to provide typing for all instances of params.parsers.micromark.tokens.
|
2024-02-28 21:01:47 -08: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
|
e89ff6ea98
|
Reimplement MD030/list-marker-space using micromark tokens, improve range accuracy.
|
2023-10-10 22:03:18 -07:00 |
|
David Anson
|
b6471fba31
|
Enable ESLint rule unicorn/no-array-for-each, auto-fix all violations, manually address new issues for ~4% time reduction measured via profile-fixture.mjs on Apple Silicon M1.
|
2022-06-08 22:10:27 -07:00 |
|
David Anson
|
3238ed4249
|
Update all rules to better handle wrongly-typed configuration parameters.
|
2020-01-25 18:40:39 -08:00 |
|
David Anson
|
5ae5e448b0
|
Update MD030/list-marker-space to allow bare list item markers for templating scenarios (fixes #235).
|
2019-12-10 22:09:40 -08:00 |
|
David Anson
|
0502e370de
|
Update MD026/MD030 to report fixInfo for violations.
|
2019-09-11 22:59:42 -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
|
fa04d29485
|
Enhance MD022/blanks-around-headings with lines_above/lines_below parameters (fixes #143).
|
2019-03-24 21:50:56 -07:00 |
|
David Anson
|
213aef4564
|
Convert var to const/let (except in browser-only code).
|
2018-04-27 22:05:34 -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 |
|