David Anson
|
9c8e7156e1
|
Create strict JSON Schema for configuration (standalone for ease of use) and corresponding strict TypeScript type (via extends for conciseness) (fixes #1248).
|
2024-08-27 20:47:33 -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
|
85e704f32a
|
Update to only invoke rules that are used at least once by the content.
|
2024-08-22 20:35:01 -07:00 |
|
David Anson
|
ea8d596a9b
|
Stop running the markdown-it parser unless a custom rule that requires it is present (~7% runtime reduction).
|
2024-08-21 21:19:52 -07:00 |
|
David Anson
|
b79b519c34
|
Update test repo snapshots.
|
2024-08-21 20:14:51 -07:00 |
|
David Anson
|
7aac5b0553
|
Refactor to remove flattenedLists, indentFor, listItemMarkerRe, orderedListItemMarkerRe, rangeFromRegExp, and unorderedListStyleFor helpers, reimplement MD004/MD029 using micromark tokens.
|
2024-08-20 21:36:17 -07:00 |
|
David Anson
|
55729cfcf7
|
Remove filterTokens helper (now used only by tests).
|
2024-08-18 15:34:26 -07:00 |
|
David Anson
|
2b8369ae39
|
Update MD031/blanks-around-fences to handle missing close fence.
|
2024-08-17 20:29:27 -07:00 |
|
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
|
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
|
ff8c1bf9b2
|
Reimplement MD010/no-hard-tabs using micromark tokens.
|
2024-08-10 21:44:42 -07:00 |
|
David Anson
|
c35e8ce40d
|
Add empty .markdownlint.json to test directory to prevent inheriting project settings in VS Code editing scenarios.
|
2024-08-07 21:28:21 -07:00 |
|
David Anson
|
a8da6c5586
|
Update test repo snapshots.
|
2024-08-07 21:20:23 -07:00 |
|
David Anson
|
a6cf08dfc6
|
Update MD039/no-space-in-links to report separate errors for start and end spaces (more granular; avoids conflicts).
|
2024-08-04 13:05:32 -07:00 |
|
David Anson
|
daa155d5a1
|
Reimplement MD039/no-space-in-links using micromark tokens.
|
2024-08-04 12:06:12 -07:00 |
|
David Anson
|
57ee2fe322
|
Update test repo snapshots.
|
2024-07-28 21:41:19 -07:00 |
|
David Anson
|
4d002e268e
|
Update test repo snapshots.
|
2024-07-23 22:00: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
|
0f9556f4ec
|
Update test repo snapshots.
|
2024-07-15 12:30:54 +00:00 |
|
David Anson
|
2dd3ea7d18
|
Update test repo snapshots.
|
2024-07-12 08:02:01 +00:00 |
|
David Anson
|
e2a2f9ddc5
|
Update test repo snapshots.
|
2024-07-11 08:40:46 +00:00 |
|
David Anson
|
0d2af0c26a
|
Update test repo snapshots.
|
2024-07-08 06:58:46 +00:00 |
|
David Anson
|
964e4c80ab
|
Reimplement MD042/no-empty-links using micromark tokens.
|
2024-06-30 16:10:48 -07:00 |
|
David Anson
|
053be3fab6
|
Update test repo snapshots.
|
2024-06-27 04:12:56 +00:00 |
|
David Anson
|
347302169c
|
Reimplement MD014/commands-show-output using micromark tokens.
|
2024-06-22 15:12:37 -07:00 |
|
David Anson
|
96354678dc
|
Reimplement MD024/no-duplicate-heading using micromark tokens.
|
2024-06-19 21:05:50 -07:00 |
|
David Anson
|
fc9eaca653
|
Update test repo snapshots.
|
2024-06-19 20:33:18 -07:00 |
|
David Anson
|
3b9a7fb2dd
|
Reimplement MD023/heading-start-left using micromark tokens.
|
2024-06-17 22:18:58 -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
|
4ff3a27fa2
|
Reimplement MD019/no-multiple-space-atx using micromark tokens.
|
2024-06-11 21:37:29 -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
|
ea9659841e
|
Reimplement MD025/single-title/single-h1 using micromark tokens.
|
2024-06-08 20:41:40 -07:00 |
|
David Anson
|
6daaa43410
|
Reimplement MD003/heading-style using micromark tokens.
|
2024-06-08 14:44:49 -07:00 |
|
David Anson
|
e447db33c9
|
Lint large test repos in parallel (via worker threads) for shorter run times.
|
2024-06-07 22:24:41 -07:00 |
|
David Anson
|
56a7fc82d7
|
Update test repo snapshots.
|
2024-06-04 19:25:18 -07:00 |
|
David Anson
|
26466108e9
|
Add new rule MD058/blanks-around-tables (fixes #132).
|
2024-06-03 21:16:45 -07:00 |
|
David Anson
|
81dacdae0d
|
Update/simplify test-repos scripts.
|
2024-05-25 18:18:32 -07:00 |
|
David Anson
|
cc34704ffa
|
Update test repo snapshot configuration.
|
2024-05-15 22:42:26 -07:00 |
|
David Anson
|
22f1f064fd
|
Incorporate markdownlint-rule-extended-ascii into tests, linting, and documentation.
|
2024-05-13 22:57:47 -07:00 |
|
David Anson
|
7bbf99948e
|
Update test repo snapshots.
|
2024-05-12 21:53:51 -07:00 |
|
David Anson
|
ed1bb6d88e
|
Update test repo snapshots.
|
2024-05-02 20:42:53 -07:00 |
|
David Anson
|
c6716f9bac
|
Update to ESLint 9's "flat" configuration file format.
|
2024-04-20 21:29:23 -07:00 |
|
David Anson
|
b9618df069
|
Update test repo snapshots.
|
2024-04-07 20:23:29 -07:00 |
|
David Anson
|
dfbb7ffcf6
|
Update test repo snapshots.
|
2024-04-03 21:47:50 -07:00 |
|
David Anson
|
02afc89443
|
Update test repo snapshots.
|
2024-03-29 21:52:04 -07:00 |
|
David Anson
|
b7ed1e6540
|
Update test repo snapshots.
|
2024-03-27 20:40:57 -07:00 |
|
David Anson
|
ab0ea70b7f
|
Update test repo snapshots.
|
2024-03-20 20:17:57 -07:00 |
|
David Anson
|
fdd8ba1974
|
Update MD051/link-fragments to include math text when creating heading fragments (fixes #1152).
|
2024-03-17 14:31:49 -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 |
|