David Anson
|
dfcb4529f3
|
Cache all top-level calls to filterByTypes (~7% runtime reduction).
|
2024-08-24 22:05:16 -07:00 |
|
David Anson
|
7efc2605b1
|
Refactor to remove codeBlockAndSpanRanges helper.
|
2024-08-15 21:34:27 -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
|
6b01a98363
|
Add ESLint plugin eslint-plugin-regexp, enable recommended rules, apply all automated fixes (refs #657).
|
2022-12-19 21:36:24 -08:00 |
|
David Anson
|
c333976a44
|
Update MD011/no-reversed-links to avoid more nested paren scenarios (fixes #572).
|
2022-10-16 22:16:51 -07:00 |
|
David Anson
|
6718944b0f
|
Replace helpers.overlapsAnyRange with .withinAnyRange, update code/tests for resulting behavior.
|
2022-06-02 22:17:32 -07:00 |
|
David Anson
|
1e82f76596
|
Reimplement inlineCodeSpanRanges as codeBlockAndSpanRanges to fix an issue with unterminated code spans (and for flexibility).
|
2021-11-23 04:51:20 +00:00 |
|
David Anson
|
e72b2ba985
|
Update MD011/no-reversed-links to remove RegExp negative lookbehind assertion which is not supported on Safari.
|
2021-08-22 22:26:12 -07:00 |
|
David Anson
|
7d40926367
|
Cache results of inlineCodeSpanRanges for use by MD011/MD044.
|
2021-06-17 22:01:27 -07:00 |
|
David Anson
|
706f48bd25
|
Re-implement MD011/no-reversed-links for better accuracy (range and fixInfo are now always valid) (fixes #398).
|
2021-06-17 21:50:03 -07:00 |
|
David Anson
|
9afd4e1ab5
|
Avoid exception when MD011/no-reversed-links is not able to report column/length (fixes #339).
|
2020-10-14 20:57:04 -07:00 |
|
David Anson
|
6587ba7261
|
Fix MD011/no-reversed-links to better handle escaped RegExp content in reversed links.
|
2019-09-28 14:30:16 -07:00 |
|
David Anson
|
3632ce28b9
|
Fix highlighting of MD011/no-reversed-links when preceeded by decorated text.
|
2019-09-26 22:29:01 -07:00 |
|
David Anson
|
620853f200
|
Update MD011/MD034 to report fixInfo for violations.
|
2019-09-04 22:18:23 -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
|
213aef4564
|
Convert var to const/let (except in browser-only code).
|
2018-04-27 22:05:34 -07:00 |
|
David Anson
|
9ba143555d
|
Move each rule implementation into its own file (fixes #83).
|
2018-01-21 21:44:25 -08:00 |
|