David Anson
|
d2faf40e6a
|
Add rule name and file/string identifier to Error message thrown by onError validation for rules.
|
2023-10-07 19:34:21 -07:00 |
|
David Anson
|
6720eadad4
|
Use stable URI identifiers for JSON schemas to avoid potential race conditions.
|
2023-09-28 20:48:50 -07:00 |
|
David Anson
|
dd6fe21ac7
|
Convert JSON schema validation to use @hyperjump/json-schema, validate against specific schema version, newly validate schema definition, add missing "$schema" property.
|
2023-09-27 22:48:01 -07:00 |
|
David Anson
|
941769f204
|
Update MD051/link-fragments to handle backslash-escaping in heading text (fixes #984).
|
2023-09-18 22:20:44 -07:00 |
|
David Anson
|
8cf50f01b7
|
Update snapshot for https://github.com/mdn/content repository to reflect recent changes.
|
2023-09-17 21:24:22 -07:00 |
|
David Anson
|
c59071734b
|
Update snapshot for https://github.com/mdn/content repository to reflect recent changes.
|
2023-09-16 03:32:32 +00:00 |
|
David Anson
|
daec896b8d
|
Update MD034/no-bare-urls to scan all tokens when pruning HTML content so open/close pairs with different parents are handled (fixes #966).
|
2023-09-13 22:44:24 -07:00 |
|
David Anson
|
ba260b9b1e
|
Update MD051/link-fragments to handle backslash-escaped content in link and definition destinations (fixes #956).
|
2023-09-06 21:25:00 -07:00 |
|
David Anson
|
1ddee6b195
|
Update MD051/link-fragments to also look for a fragment matching the URI-encoded link definition (implicit behavior in previous version via markdown-it) (fixes #954, fixes #955).
|
2023-09-06 20:50:56 -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
|
c118c1160a
|
Update MD052/reference-links-images to add a shortcut_syntax parameter for opting into shortcut scanning (fixes #915).
|
2023-09-04 16:40:48 -07:00 |
|
David Anson
|
a736588958
|
Update MD051/link-fragments to handle links and images in headings (fixes #945).
|
2023-09-04 12:26:38 -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
|
e282874fe3
|
Add a test for micromark helpers filterByPredicate and filterByTypes to ensure they return the same token lists for "all tokens".
|
2023-08-30 22:34:36 -07:00 |
|
David Anson
|
87fda39df8
|
Add --profile argument to harness.mjs for measuring and reporting elapsed time.
|
2023-08-28 21:24:36 -07:00 |
|
David Anson
|
523eeee3bb
|
Update code for new behavior of ESLint rule n/prefer-promises/fs.
|
2023-08-22 22:00:43 -07:00 |
|
David Anson
|
bc0fd1b465
|
Update snapshot for https://github.com/dotnet/docs repository to reflect recent changes.
|
2023-08-22 21:46:38 -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 |
|
David Anson
|
809841098d
|
Update MD022/blanks-around-headings to allow passing -1 for lines_above/lines_below to allow any number of blank lines in that direction (fixes #546).
|
2023-08-06 15:24:35 -07:00 |
|
David Anson
|
1eb40d3c4c
|
Update MD051/link-fragments to not provide error context for multi-line scenarios.
|
2023-08-04 21:23:43 -07:00 |
|
David Anson
|
ef1bd286a9
|
Reimplement MD051/link-fragments using micromark tokens, report reference link issues for definition and fix when possible, handle reporting multiple violations on the same line better.
|
2023-08-04 20:53:38 -07:00 |
|
David Anson
|
e8cc7eb3cb
|
Reimplement MD045/no-alt-text using micromark tokens, add range information.
|
2023-07-28 20:19:30 -07:00 |
|
David Anson
|
3dedc1cda1
|
Update tests to verify rules can be configured by identifier and by name (in response to previous commit that changed all test files to use name).
|
2023-07-27 21:42:14 -07:00 |
|
Tommy G
|
07b851b3c7
|
Always refer to rules by name (not number) in test configuration.
|
2023-07-27 21:33:03 -07:00 |
|
David Anson
|
73b9704159
|
Reimplement MD037/no-space-in-emphasis using micromark tokens, report start/end separately for smaller edit spans, remove markdown-it-texmath (fixes #533, fixes #597).
|
2023-07-24 21:36:55 -07:00 |
|
David Anson
|
e86fb7699d
|
Refactor to move reparse of micromark htmlFlow token content into core micromarkParse implementation for simplicity and sharing.
|
2023-07-21 22:49:08 -07:00 |
|
David Anson
|
9646590496
|
Reimplement MD032/blanks-around-lists using micromark tokens, add newly-detected violations to test snapshot.
|
2023-07-18 22:33:57 -07:00 |
|
David Anson
|
c8236ed0ea
|
Update harness.mjs to output micromark token structure.
|
2023-07-14 21:36:10 -07:00 |
|
David Anson
|
9897863130
|
Harden code to snapshot rule definitions against mutation, add comments to some helper functions.
|
2023-07-12 21:58:48 -07:00 |
|
David Anson
|
14a7529ce7
|
Snapshot custom rule definitions to prevent them from changing dynamically.
|
2023-07-11 22:17:53 -07:00 |
|
David Anson
|
c699b8e22b
|
Allow a custom rule's onError implementation to override that rule's information URL for each error.
|
2023-07-11 21:45:00 -07:00 |
|
David Anson
|
7a794192ca
|
Add support for named heading fragments as supported by some platforms (fixes #830).
|
2023-07-08 22:14:00 -07:00 |
|
David Anson
|
c06506c317
|
Reimplement MD026/no-trailing-punctuation using micromark tokens, ignore trailing GitHub emoji codes, improve tests (fixes #457).
|
2023-06-24 15:47:06 -07:00 |
|
David Anson
|
f5a2df1e86
|
Update test repository linting tests to use snapshots instead of RegExp exclusions, remove https://github.com/mdn/translated-content test repository due to overlap with https://github.com/mdn/content.
|
2023-06-01 21:21:52 -07:00 |
|
David Anson
|
22dc6cae84
|
Update micromark code and tests for prior commit updating markdownlint-micromark (including micromark to 3.2.0).
|
2023-05-31 21:02:44 -07:00 |
|
David Anson
|
b1eff75034
|
Update MD044/proper-names to parse into micromark htmlFlow tokens for better behavior when html_elements is false (fixes #832).
|
2023-05-31 20:25:56 -07:00 |
|
David Anson
|
8471914a1d
|
Update MD037/no-space-in-emphasis to handle multiple embedded underscores separated by a single character (fixes #804).
|
2023-05-27 11:05:17 -07:00 |
|
David Anson
|
dc4acff067
|
Update MD044/proper-names to ignore the content of HTML comments when its html_elements parameter is false (fixes #832).
|
2023-05-26 20:58:59 -07:00 |
|
David Anson
|
1b0e783c33
|
Update README.md to clarify two things.
|
2023-05-26 20:28:21 -07:00 |
|
David Anson
|
0006636f75
|
Update MD049/emphasis-style and MD050/strong-style to not report intraword asterisks/underscores as violations because exchanging either alters meaning (fixes #789).
|
2023-05-26 04:47:14 +00:00 |
|
David Anson
|
7005a8a438
|
Reimplement MD049/emphasis-style, MD050/strong-style to use micromark parser (with smaller ranges and handling of multi-line fixes).
|
2023-05-26 03:50:00 +00:00 |
|
David Anson
|
488813f7f7
|
Update MD034/no-bare-urls to re-scan documents with potential violations using proper reference definition handling to avoid false positives (fixes #787).
|
2023-05-23 04:01:55 +00:00 |
|
David Anson
|
99ef8f8e7e
|
Update test snapshots for new tokenization from markdownlint-micromark/micromark-extension-gfm-table.
|
2023-05-13 15:45:54 -07:00 |
|
David Anson
|
ee6407b00a
|
Remove suppression for fixed issues in https://github.com/mdn/content test repository.
|
2023-04-24 21:38:41 -07:00 |
|
David Anson
|
38e168ba09
|
Update test-repos implementation to output all unnecessary RegExps, remove suppression for fixed issues in https://github.com/pi-hole/docs test repository.
|
2023-04-24 21:24:19 -07:00 |
|
David Anson
|
7bacd23ccd
|
Remove suppression for fixed issues in https://github.com/dotnet/docs test repository.
|
2023-04-21 20:52:46 -07:00 |
|
David Anson
|
0cf81e4ef4
|
Add Node 20 to CI matrix, update test cases to handle new error strings in Node 20.
|
2023-04-18 19:55:56 -07:00 |
|
David Anson
|
2ab546bec0
|
Implement (undocumented, promise-only) extendConfig API for readConfig-like behavior when the Configuration object is already available (i.e., to implement "extends" consistently).
|
2023-04-03 22:59:06 -07:00 |
|
David Anson
|
d9d15c36ef
|
Add suppression for new test repository violation.
|
2023-03-30 03:37:36 +00:00 |
|
David Anson
|
2cb8931e69
|
Add suppressions for new test repository violation.
|
2023-03-22 22:19:22 -07:00 |
|