David Anson
|
a83e2d8a09
|
Reimplement MD041/first-line-heading/first-line-h1 using micromark tokens.
|
2024-03-18 20:48:32 -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 |
|
David Anson
|
c44f165fe1
|
Remove tokens property from RuleParams type definition (use parsers.markdownit.tokens instead). No change to runtime behavior.
|
2024-03-07 21:14:17 -08:00 |
|
David Anson
|
a5371e29c5
|
Update dependency: markdownlint-micromark to 0.1.9.
|
2024-03-05 21:44:36 -08:00 |
|
David Anson
|
2b73095ebd
|
Handle parser inconsistency for "u@.com" to avoid repeatedly wrapping with "<>" when fixing the bare URL (email) (fixes #1140).
|
2024-03-03 19:06:14 -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
|
828ae3541a
|
Use @type to provide typing for all instances of params.parsers.micromark.tokens.
|
2024-02-28 21:01:47 -08: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
|
996d88a9b4
|
Refactor to remove micromark helper getSiblingTokens for simpler code and better performance.
|
2024-02-26 21:07:24 -08:00 |
|
David Anson
|
4436d84b55
|
Update MD027/no-multiple-space-blockquote range to cover just the extra spaces (vs. including nearby syntax).
|
2024-02-26 20:37:40 -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
|
807fee01b1
|
Reimplement MD046/code-block-style using micromark tokens.
|
2024-02-19 20:31:47 -08:00 |
|
David Anson
|
64b9032b51
|
Update MD049/emphasis-style and MD050/strong-style to properly detect violations at the beginning and end of a line (fixes #1132).
|
2024-02-19 15:41:10 -08:00 |
|
David Anson
|
f26df4743c
|
Reimplement MD040/fenced-code-language using micromark tokens.
|
2024-02-18 17:22:32 -08:00 |
|
David Anson
|
f5b5773b50
|
Reimplement MD028/no-blanks-blockquote using micromark tokens.
|
2024-02-18 16:46:13 -08:00 |
|
David Anson
|
45c8766eda
|
Refine previous commit for MD051/link-fragments to tweak behavior, tests, and documentation.
|
2024-02-10 15:41:55 -08:00 |
|
Théo LUDWIG
|
242b35f98f
|
Update MD051/link-fragments to support GitHub-style line/column range syntax in URLs (refs #1117).
|
2024-02-10 15:41:55 -08:00 |
|
David Anson
|
9c77f92616
|
Update to version 0.33.0.
|
2024-01-07 17:22:52 -08:00 |
|
David Anson
|
30d62f19ac
|
Add rule MD056/table-column-count (fixes #92).
|
2024-01-06 20:06:47 -08:00 |
|
David Anson
|
0ddbffdecf
|
Update and simplify .eslintrc.json.
|
2024-01-03 22:12:23 -08:00 |
|
David Anson
|
9b5f6a28f9
|
Fix possible exceptions due to addError's range/editColumn out of range, update test-extra to use test.serial() for better progress.
|
2023-12-31 21:51:34 -08:00 |
|
David Anson
|
7d2248d211
|
Update MD055/table-pipe-style to support "consistent" and other styles, use micromark positioning, report ranges, add more tests.
|
2023-12-30 18:15:38 -08:00 |
|
Gabriel Kuznik
|
a563c082a5
|
Add rule MD055/table-missing-border (fixes #93, refs #1039, no generated files).
|
2023-12-29 17:29:06 -08:00 |
|
David Anson
|
9f87e7dc60
|
Update MD038/no-space-in-code to avoid a possible range error for indented code fences.
|
2023-12-06 21:28:23 -08:00 |
|
David Anson
|
f2725178b1
|
Update MD024/no-duplicate-heading to remove duplicate parameter allow_different_nesting which confuses people.
|
2023-12-05 19:23:17 -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
|
dd7b9db685
|
Update to version 0.32.1.
|
2023-11-14 20:01:30 -08:00 |
|
David Anson
|
41bc8465d2
|
Update MD054/link-image-style handling of url_inline to ensure link and destination match and that the destination is autolink-able (fixes #1040).
|
2023-11-14 19:56:23 -08:00 |
|
David Anson
|
49ef661478
|
Update to version 0.32.0.
|
2023-11-13 21:16:33 -08:00 |
|
David Anson
|
b709a2f624
|
Update MD054/link-image-style to add url_inline parameter (fixes #753).
|
2023-11-12 22:46:30 -08:00 |
|
David Anson
|
063310e51a
|
Update MD054/link-image-style to split reference parameter into full/collapsed/shortcut parameters (fixes #918).
|
2023-11-11 22:12:50 -08:00 |
|
David Anson
|
a9a77940c5
|
Remove rule aliases for "header" (deprecated in v0.9.0).
|
2023-11-09 20:05:30 -08:00 |
|
David Anson
|
20a552b4b7
|
Remove MD002 (deprecated in v0.13.0) and MD006 (deprecated in v0.19.0).
|
2023-11-09 19:47:24 -08:00 |
|
David Anson
|
d4bfb633bb
|
Generate TypeScript declaration for Configuration object from JSON schema (refs #1004, refs #1014).
|
2023-11-08 19:49:02 -08:00 |
|
David Anson
|
3b1dfe42df
|
Remove deprecated ESLint rules after version update.
|
2023-11-05 20:18:39 -08:00 |
|
David Anson
|
1a376f60bb
|
Tweak rule parameters to avoid confusing the TypeScript type system.
|
2023-11-03 20:24:08 -07: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 |
|
Tommy G
|
460836445c
|
Add new MD054/link-image-style rule (in-progress PR, no generated files).
|
2023-11-02 19:48:55 -07:00 |
|
David Anson
|
739cfb6fe2
|
Update MD034/no-bare-urls to restore per-sibling scan (vs. all-element scan) and ignore tokens inside an htmlFlow context.
|
2023-10-23 20:55:37 -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
|
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
|
9297bcde1c
|
Reimplement MD005/list-indent using micromark tokens, improve range reporting.
|
2023-10-12 21:43:31 -07:00 |
|
David Anson
|
e89ff6ea98
|
Reimplement MD030/list-marker-space using micromark tokens, improve range accuracy.
|
2023-10-10 22:03:18 -07:00 |
|
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
|
941769f204
|
Update MD051/link-fragments to handle backslash-escaping in heading text (fixes #984).
|
2023-09-18 22:20:44 -07:00 |
|