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
|
3b581a7f6d
|
Reimplement MD013/line-length using micromark tokens.
|
2024-08-13 20:57:00 -07:00 |
|
David Anson
|
4072cf7417
|
Reimplement MD009/no-trailing-spaces using micromark tokens.
|
2024-08-12 23:24:46 -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
|
1f9497ad09
|
Refactor MD009/no-trailing-spaces to remove dependency on helpers.forEachInlineCodeSpan.
|
2022-06-16 05:19:27 +00:00 |
|
David Anson
|
54acae87ea
|
Update MD009/no-trailing-spaces to remove unnecessary sorting, add additional test cases.
|
2022-06-16 04:48:51 +00:00 |
|
David Anson
|
28b273e798
|
Add more test cases for trailing spaces.
|
2022-06-13 22:53:48 -07: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
|
bd63c57fde
|
Update MD009/no-trailing-spaces to allow trailing spaces in fenced code blocks (fixes #292).
|
2020-11-21 16:53:31 -08:00 |
|
David Anson
|
3238ed4249
|
Update all rules to better handle wrongly-typed configuration parameters.
|
2020-01-25 18:40:39 -08:00 |
|
David Anson
|
74af9f82fb
|
Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85).
|
2020-01-23 19:42:46 -08:00 |
|
David Anson
|
6f3c67f760
|
Update MD009/no-trailing-spaces to include strict mode (fixes #216).
|
2019-12-09 22:05:57 -08:00 |
|
David Anson
|
2cd27c58f2
|
Update MD009/MD010/MD012/MD028 to report fixInfo for violations.
|
2019-08-24 22:55:51 -07:00 |
|
Wouter Admiraal
|
779a55a662
|
Allow trailing spaces in indented code blocks (#191)
|
2019-06-01 15:26:48 -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
|
f614f3e1ce
|
Remove state from shared.js, move to cache.js.
|
2019-04-10 21:26:59 -07:00 |
|
David Anson
|
9b9532e163
|
Add includesSorted function, use for faster searches of sorted arrays.
|
2019-03-28 22:06:42 -07:00 |
|
David Anson
|
3e1317709a
|
Update MD009/no-trailing-spaces default configuration to allow 2 spaces for hard break (fixes #114).
|
2018-04-30 21:34:19 -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 |
|