Commit graph

64 commits

Author SHA1 Message Date
David Anson
05509da984 Add "severity"/"error" to rule in Configuration object, add corresponding documentation, resolve some new type-checking issues.
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
2025-09-18 21:21:12 -07:00
David Anson
9065f74bb8 Refactor configuration schema to use oneOf instead of type:Array for better extensibility. 2025-09-13 17:03:02 -07:00
David Anson
2a06f0a871 Address new code analysis issues from previous commit. 2025-09-08 21:09:22 -07:00
David Anson
3532e3110a Add rule MD060/table-column-style (fixes #90, fixes #323). 2025-08-20 22:14:52 -07:00
Alexandre Feblot
1b6839bff0
Update MD001/heading-increment to support front matter title as the first heading of the page. 2025-06-06 19:54:23 -07:00
David Anson
32d650250a Update MD033/no-inline-html documentation to address a minor issue in the previous commit. 2025-05-31 13:31:48 -07:00
Alexandre Feblot
1ac0b22804 MD033/no-inline-html: Add table_allowed_elements parameter. 2025-05-31 13:27:30 -07:00
David Anson
6b4e865d64 Update MD010/no-hard-tabs documentation to link to context about possible issues with tab characters. 2025-05-31 12:41:17 -07:00
Jakob Guddas
9c12debac0 Update MD059/descriptive-link-text documentation to add link to WCAG success criterion. 2025-05-26 22:35:57 +00:00
David Anson
328506e6c8 Update MD052/reference-links-images to add ignored_labels parameter and default to ignoring GFM task list items (fixes #1524). 2025-04-27 22:36:07 -07:00
David Anson
b611eba684 Update MD045/no-alt-text to allow violations when an HTML IMG has aria-hidden set to true (fixes #1576). 2025-04-27 18:42:36 -07:00
David Anson
02478d24cf Update MD051/link-fragments to add the ignored_pattern configuration parameter (fixes #547). 2025-04-05 22:35:07 -07:00
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