Commit graph

52 commits

Author SHA1 Message Date
David Anson
62dc79864d Update MD041/first-line-heading to add an allow_preamble parameter (fixes #1416). 2025-03-22 16:16:10 -07:00
David Anson
50300fa7af Update MD051/link-fragments to allow HTML's implicit "#top" fragment (fixes #1488). 2025-03-15 16:30:32 -07:00
David Anson
5749c8dcf7 Update MD043/required-headings to support "?" meaning "exactly one unspecified heading" (fixes #475). 2025-03-10 21:57:39 -07:00
David Anson
435c55f72a Update MD027/no-multiple-space-blockquote to add a list_items parameter (fixes #1473). 2025-03-03 23:22:37 -08:00
David Anson
241fe5b51c Address violation of new lint rule unicorn/no-named-default. 2025-02-17 20:05:27 -08:00
David Anson
571c2353ea Update new rule MD059/descriptive-link-text for project-level consistency. 2025-02-13 22:11:42 -08:00
Kate Higa
b8374ec5d2 Add rule MD059/descriptive-link-text "Link text should be descriptive" (fixes #681). 2025-02-13 22:11:42 -08:00
David Anson
b23fc96ab2 Refactor MD038/no-space-in-code to produce smaller/simpler edits and address an additional scenario. 2025-02-07 20:03:30 -08:00
David Anson
90cf515ff0 Update MD038/no-space-in-code to allow code spans with only spaces (fixes #1481). 2025-02-02 21:36:35 -08:00
David Anson
1e71f6f44e Convert markdownlint library to an ECMAScript module, replace markdownlint-micromark with micromark, stop publishing (large) markdownlint-browser.js, see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c for guidance. 2024-11-29 18:29:21 -08:00
David Anson
04c693b00b Update MD051/link-fragments to add ignore_case parameter and improve documentation (fixes #1274). 2024-10-08 22:40:25 -07:00
David Anson
5faa6f4235 Update rule documentation to explain how consistent is implemented (fixes #1346). 2024-10-07 22:08:16 -07:00
David Anson
4fd1b05021 Update documentation for MD044/proper-names to show how to handle differing capitalization (closes #1288). 2024-07-12 08:20:30 +00:00
David Anson
26466108e9 Add new rule MD058/blanks-around-tables (fixes #132). 2024-06-03 21:16:45 -07:00
David Anson
90b572f292 Update documentation for MD034/no-bare-urls to recommend percent-encoding (closes #1212). 2024-05-19 22:34:17 -07:00
David Anson
c83afe1cfd Update documentation for MD013/line-length to call out a missing scenario and be more explicit about strict/stern behavior (refs #1154). 2024-03-19 21:46:34 -07: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
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
30d62f19ac Add rule MD056/table-column-count (fixes #92). 2024-01-06 20:06:47 -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
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
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
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
5950e4481a Update documentation for MD023/heading-start-left to include "indented" example within block quote (fixes #1009). 2023-10-23 20:37:38 -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
3e44e43ac4 Update documentation for MD032/blanks-around-lists to correct an example and discuss lazy continuation lines (fixes #972). 2023-09-14 20:59:24 -07:00
David Anson
47f36e98f7 Remove dead link from MD007 documentation. 2023-09-10 20:21:51 -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
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
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
7a794192ca Add support for named heading fragments as supported by some platforms (fixes #830). 2023-07-08 22:14:00 -07:00
David Anson
ddb71ed1e8 Update tests and documentation for MD034/no-bare-urls to explain edge case behavior. 2023-02-25 15:50:57 -08:00
David Anson
b990b3ea77 Reimplement MD034/no-bare-urls using micromark tokens (fixes #707). 2023-02-25 15:50:57 -08:00
David Anson
0e0060d660 Fix newly-broken link in MD051/link-fragments documentation. 2022-12-31 21:06:48 +00:00
David Anson
aa3635187a Update "Fixable: Most violations can be fixed by tooling" to use the word "Some" to avoid over-promising. 2022-12-16 13:57:57 -08:00
David Anson
fc98a7c59d Update documentation for MD003/heading-style to call out an additional scenario (fixes #644). 2022-12-08 22:30:17 -08:00
David Anson
a86998bf6f Update documentation for MD038/no-space-in-code to expand rationale (fixes #641). 2022-12-08 22:07:10 -08:00
David Anson
2e63bf7dd8 Configure all rules that allow style=consistent (or similar) to require an explicit style for consistency across the project. 2022-11-13 20:53:17 -08:00
David Anson
91dd6dcb1d Enable "line-length": { "strict": true } for all user-facing Markdown files in the repository. 2022-11-12 17:53:47 -08:00
Sébastien Règne
72439f42c6
Update MD040/fenced-code-language to add language_only parameter to reject extra data in info string. 2022-11-10 22:07:04 -08:00
David Anson
99a3f164a9 Update MD013/line-length to permit long link/image reference definitions in all modes because they can not be easily split. 2022-11-08 21:40:33 -08:00
Sébastien Règne
b73ab7fd91
Update MD040/fenced-code-language to use case-sensitive comparison for allowed languages (fixes #627). 2022-11-05 17:41:27 -07:00
David Anson
30353cc733 Edit description of MD051/link-fragments to clarify that it implements the GitHub algorithm for creating section links (which converts to lowercase) (refs #591). 2022-11-05 16:49:38 -07:00