David Anson
|
c8fd9eb4b3
|
Refactor to remove forEachLine and getLineMetadata helpers, reimplement MD012/MD018/MD020/MD031 using micromark tokens.
|
2024-08-17 17:58:16 -07:00 |
|
David Anson
|
7efc2605b1
|
Refactor to remove codeBlockAndSpanRanges helper.
|
2024-08-15 21:34:27 -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 |
|
Fu Yuchen
|
6c8d0fdef8
|
Update MD018/no-missing-space-atx and MD020/no-missing-space-closed-atx to ignore the content of HTML blocks (fixes #1268).
|
2024-07-20 14:38:45 +09:00 |
|
David Anson
|
964e4c80ab
|
Reimplement MD042/no-empty-links using micromark tokens.
|
2024-06-30 16:10:48 -07:00 |
|
David Anson
|
96354678dc
|
Reimplement MD024/no-duplicate-heading using micromark tokens.
|
2024-06-19 21:05:50 -07:00 |
|
David Anson
|
0b165c1566
|
Reimplement MD021/no-multiple-space-closed-atx using micromark tokens.
|
2024-06-15 15:45:31 -07:00 |
|
David Anson
|
106ca0bc90
|
Make inHtmlFlow more efficient and simplify filterByTypes implementation.
|
2024-06-10 22:16:20 -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
|
6daaa43410
|
Reimplement MD003/heading-style using micromark tokens.
|
2024-06-08 14:44:49 -07:00 |
|
David Anson
|
26466108e9
|
Add new rule MD058/blanks-around-tables (fixes #132).
|
2024-06-03 21:16:45 -07:00 |
|
David Anson
|
0f55b9aec8
|
Remove outdated ESLint suppression.
|
2024-04-22 20:58:54 -07:00 |
|
David Anson
|
b2305efafb
|
Update to version 0.34.0.
|
2024-03-20 20:44:38 -07:00 |
|
David Anson
|
82441faa91
|
Reimplement MD036/no-emphasis-as-heading using micromark tokens.
|
2024-03-19 21:20:53 -07:00 |
|
David Anson
|
a83e2d8a09
|
Reimplement MD041/first-line-heading/first-line-h1 using micromark tokens.
|
2024-03-18 20:48:32 -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
|
c287e49eac
|
Add typings for Rule object to all Rule samples and examples.
|
2024-03-06 21:27:30 -08:00 |
|
David Anson
|
a5371e29c5
|
Update dependency: markdownlint-micromark to 0.1.9.
|
2024-03-05 21:44:36 -08:00 |
|
David Anson
|
902783df21
|
Remove support for end-of-life Node 16 from helpers and micromark packages.
|
2024-02-29 23:10:09 -08:00 |
|
David Anson
|
28e1b23955
|
Improve type safety by strongly-typing the micromark token type property everywhere.
|
2024-02-29 23:05:27 -08:00 |
|
David Anson
|
996d88a9b4
|
Refactor to remove micromark helper getSiblingTokens for simpler code and better performance.
|
2024-02-26 21:07:24 -08:00 |
|
David Anson
|
730ae9a96f
|
Reimplement MD027/no-multiple-space-blockquote using micromark tokens.
|
2024-02-25 15:06:28 -08:00 |
|
David Anson
|
f0d691b1ed
|
Reimplement MD048/code-fence-style using micromark tokens.
|
2024-02-19 20:42:12 -08:00 |
|
David Anson
|
f5b5773b50
|
Reimplement MD028/no-blanks-blockquote using micromark tokens.
|
2024-02-18 16:46:13 -08:00 |
|
David Anson
|
9c77f92616
|
Update to version 0.33.0.
|
2024-01-07 17:22:52 -08:00 |
|
David Anson
|
b55208b27b
|
Update dependency markdownlint-micromark to 0.1.8, incorporate new micromark-extension-directive exports.
|
2024-01-01 22:12:42 -08:00 |
|
David Anson
|
316b0989c3
|
Add $id to configuration schema, switch to version-specific repository links.
|
2023-11-24 15:23:36 -08:00 |
|
David Anson
|
49ef661478
|
Update to version 0.32.0.
|
2023-11-13 21:16:33 -08:00 |
|
David Anson
|
3b1dfe42df
|
Remove deprecated ESLint rules after version update.
|
2023-11-05 20:18:39 -08:00 |
|
David Anson
|
10f095c4fd
|
Refactor new MD054/link-image-style rule, add tests, update documentation (fixes #40, fixes #399).
|
2023-11-02 19:48:55 -07: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
|
2a56f130c1
|
Refactor Token.parent() to Token.parent, add validation tests for parent, fix parent in htmlFlow scenario, improve type saftey slightly.
|
2023-10-19 23:01:31 -07:00 |
|
David Anson
|
06466905a5
|
Add getHtmlAttributeRe helper for creating a RegExp to match an HTML attribute name/value.
|
2023-10-18 23:45:39 -07:00 |
|
Kate Higa
|
531e58ed9a
|
Update MD045/no-alt-text to report instances of HTML "img" tags missing an "alt" attribute (fixes #992).
|
2023-10-18 23:20:19 -07:00 |
|
David Anson
|
0afedaebf4
|
Resolve new eslint-plugin-regexp violation regexp/no-contradiction-with-assertion.
|
2023-10-16 20:13:21 -07:00 |
|
David Anson
|
da17cec722
|
Reimplement MD007/ul-indent using micromark tokens, reduce the length of fix edits (fixes #969).
|
2023-10-15 21:25:08 -07:00 |
|
David Anson
|
6eca6f1c3d
|
Allow HTML comments containing "--" even though it is not allowed by the CommonMark specification because it is allowed by the HTML specification and it happens in real life (fixes #996).
|
2023-10-07 20:18:43 -07:00 |
|
David Anson
|
33d309a669
|
Add "funding" section to all public package.json files linking to GitHub Sponsor page.
|
2023-10-01 23:06:48 -07:00 |
|
David Anson
|
673664378f
|
Run "npm pkg fix" for all non-private package.json files.
|
2023-09-07 21:27:55 -07:00 |
|
David Anson
|
11fbab3c47
|
Update to version 0.31.0.
|
2023-09-07 21:10:31 -07:00 |
|
David Anson
|
a7dfa4bcbf
|
Replace Array.push(...spread) in micromark helpers with Array.concat to avoid risk of stack overflow.
|
2023-09-04 22:02:39 -07:00 |
|
David Anson
|
07f403173c
|
Replace all instances of JSDoc generic Function with detailed @callback definition (type-only changes).
|
2023-09-04 21:41:31 -07:00 |
|
David Anson
|
6a2b86753b
|
Reimplement micromark helper filterByPredicate to do fewer array manipulations for a ~6-7% elapsed time reduction.
|
2023-09-02 21:30:43 -07:00 |
|
David Anson
|
24c97a54fb
|
Refactor micromark token handling to remove optional Token.htmlFlowChildren property and make related code more efficient for a ~6% elapsed time reduction.
|
2023-09-02 19:32:25 -07:00 |
|
David Anson
|
b13d6a49ee
|
Reimplement micromark helper filterByHtmlTokens using filterByPredicate to simplify.
|
2023-08-29 22:52:08 -07:00 |
|
David Anson
|
96a36de713
|
Refactor MD032/blanks-around-lists to remove redundant micromark flattenedChildren function.
|
2023-08-29 22:38:00 -07:00 |
|
David Anson
|
73e7271188
|
Update micromark parse to store flattened tokens on the returned tree via Symbol, use flattened tokens in filterByTypes for a ~14% elapsed time reduction.
|
2023-08-28 22:00:43 -07:00 |
|
David Anson
|
d641caf90c
|
Update to version 0.30.0.
|
2023-08-09 20:32:10 -07:00 |
|
David Anson
|
d9de1dd22f
|
Update MD022/blanks-around-headings to allow specifying a different number of blank lines for each heading level (fixes #504).
|
2023-08-08 22:56:59 -07:00 |
|