Commit graph

16 commits

Author SHA1 Message Date
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
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
7bb80d19b1 Update MD039/no-space-in-links to not remove code/emphasis markers when fixing issues (fixes #482). 2022-05-06 21:42:31 -07:00
David Anson
7a76f1d22d Update MD039/no-space-in-links to fix reference-style links, be slightly more permissive matching link content. 2021-12-22 14:52:43 -08:00
David Anson
c87d7f5b8c Update dependencies: eslint-plugin-jsdoc to 31.6.0, eslint-plugin-unicorn to 27.0.0. 2021-02-06 19:55:22 -08:00
David Anson
67d1476ed8 Update MD039/no-space-in-links to handle RegExp match failure (fixes #262). 2020-03-07 19:49:57 -08:00
David Anson
1edb3f0a78 Update MD039/no-space-in-links to handle hardbreaks (fixes #222). 2019-09-28 22:50:33 -07:00
David Anson
33cb1a71ec Fix MD039/no-space-in-links to handle links within a multi-line paragraph. 2019-09-24 23:00:30 -07:00
David Anson
a75f1ecf2a Fix MD039/no-space-in-links range for multiple issues on the same line. 2019-09-21 21:05:58 -07:00
David Anson
c8a74bd72c Update MD037/MD038/MD039 to report fixInfo for violations. 2019-09-06 22:35:33 -07:00
David Anson
73511ff677 Remove trimLeft/trimRight helpers; use native implementations. 2019-04-17 14:54:27 -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