David Anson
|
1513e3803b
|
Remove outdated type annotations and lint suppressions.
|
2024-06-21 21:03:37 -07:00 |
|
David Anson
|
12502f6571
|
Exclude htmlFlow content by default for filterByTypes, opt in as needed.
|
2024-06-09 17:09:03 -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
|
9b5f6a28f9
|
Fix possible exceptions due to addError's range/editColumn out of range, update test-extra to use test.serial() for better progress.
|
2023-12-31 21:51:34 -08:00 |
|
David Anson
|
63325edc97
|
Update MD005, MD007, MD022, MD037, MD038 to not report violations within "htmlFlow" context (fixes #999).
|
2023-10-21 22:03:11 -07:00 |
|
David Anson
|
9297bcde1c
|
Reimplement MD005/list-indent using micromark tokens, improve range reporting.
|
2023-10-12 21:43:31 -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
|
678597485b
|
Fix possible crash in MD005/list-indent, reporting issue with MD029/ol-prefix.
|
2020-04-09 20:14:36 -07:00 |
|
David Anson
|
6553a13b6c
|
Update MD005/list-indent to fix ordered list violations (unordered are better handled by MD007) (fixes #246).
|
2020-01-15 22:06:41 -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
|
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
|
4a1e42d942
|
Allow '0'- and ' '-prefixed ordered list markers in MD005/MD029 (fixes #126).
|
2018-06-15 22:37:12 -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
|
40ace5bb5e
|
Fix MD007/ul-indent to use parent indent instead of previous indent (fixes #106).
|
2018-03-05 20:56:12 -08: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 |
|