Commit graph

126 commits

Author SHA1 Message Date
David Anson
b447c809bd Update MD010/no-hard-tabs to add ignore_code_languages parameter (fixes #383). 2022-04-28 21:09:06 -07:00
David Anson
0f845e9ba1 Update MD044/proper-names to add html_elements parameter (fixes #435). 2022-04-25 21:50:33 -07:00
David Anson
db5d9f6dbb Update previous commit for MD051/link-fragments to rename, refactor, add support for HTML anchors, and validate against
markdown-link-check (fixes #253).
2022-04-16 14:08:56 -07:00
Divlo
33ee1cd85e Initial implementation of MD051/valid-link-fragments (refs #253, closes #495). 2022-04-16 14:08:56 -07:00
David Anson
4affefc68d Add proper-names rule to .markdownlint.json, update tests to use that file, fix resulting issues. 2022-03-10 06:11:38 +00:00
Ashish Gupta
e4a42155d3
Update "markdown" to "Markdown" in Rules.md (fixes #507). 2022-03-07 21:12:14 -08:00
David Anson
d57b4770ed Update MD010/no-hard-tabs to allow tabs in code spans when the code_blocks parameter is set to false (for consistency) (fixes #454). 2021-12-17 17:24:00 -08:00
David Anson
8fde53cf31 Update MD035/hr-style to correctly match thematic breaks in block quotes. 2021-12-14 23:05:03 -08:00
David Anson
517eb42015 Update MD007/ul-indent to support start_indent parameter (fixes #337, closes #397). 2021-12-13 21:49:43 -08:00
David Anson
2056d81682 Add support for asynchronous custom rules (ex: to read a file or make a network request). 2021-12-11 21:44:25 -08:00
David Anson
291597edb9 Update rules MD049/emphasis-style and MD050/strong-style to include range and fixInfo when reporting issues (i.e., to be automatically fixable). 2021-11-28 23:26:02 -08:00
David Anson
1e82f76596 Reimplement inlineCodeSpanRanges as codeBlockAndSpanRanges to fix an issue with unterminated code spans (and for flexibility). 2021-11-23 04:51:20 +00:00
Sébastien Règne
39724b991a
Add MD049/emphasis-style (fixes #150). 2021-10-23 21:54:58 -07:00
Sébastien Règne
ab9e5875a2
Add MD050/strong-style (fixes #150). 2021-10-20 21:42:48 -07:00
David Anson
a5bfaa8a7d Correct typo-ed references to RuleOnErrorInfo.details to detail. 2021-09-25 16:23:37 -07:00
David Anson
580e57ddee Add Prettier.md to document compatibility issues (fixes #410). 2021-08-13 22:18:39 -07:00
Yash Singh
47ff95e8d2
Add spaces_per_tab parameter to MD010/no-hard-tabs (fixes #384). (#385) 2021-04-09 16:33:01 -07:00
Yash Singh
4f9b698586
Add note for plain text (#376). 2021-03-09 13:00:04 -08:00
David Anson
ed325ebb56 Update MD004/ul-style to auto-fix violations (fixes #351). 2021-02-06 15:49:02 -08:00
David Anson
d2d4b310b9 Remove override of line-length rule for Rules.md validation. 2021-01-31 16:02:49 -08:00
David Anson
1d042aa3fd Update MD041/first-line-heading to recognize HTML headings (fixes #366). 2021-01-31 15:51:57 -08:00
David Anson
428cf20dc4 Minor tweak to previous commit. 2020-12-30 16:45:15 -08:00
Yash Singh
2a198a5ee4 Fix grammar issues in Rules.md. 2020-12-30 16:42:34 -08:00
David Anson
e20502c494 Update MD043/required-headings to treat "*" as "zero or more" and "+" as "one or more" (fixes #281). 2020-11-23 20:47:28 -08:00
David Anson
c693a9a3d8 Update MD026/no-trailing-punctuation to ignore the trailing semicolon of HTML entity references (fixes #320). 2020-11-23 15:23:39 -08:00
David Anson
09c5736385 Remove automatic fix from MD028/no-blanks-blockquote due to ambiguity (fixes #315). 2020-11-23 14:57:19 -08:00
David Anson
bd63c57fde Update MD009/no-trailing-spaces to allow trailing spaces in fenced code blocks (fixes #292). 2020-11-21 16:53:31 -08:00
David Anson
6c1bc8ecb5 Allow question mark by default for MD026/no-trailing-punctuation (fixes #276). 2020-11-17 20:32:17 -08:00
David Anson
bb157b2ce7 Support JSON front matter as used by the Hugo site generator (fixes #270). 2020-11-14 19:40:15 -08:00
David Anson
82cf68023f Update recently-broken link in Rules.md. 2020-09-30 21:59:22 -07:00
David Anson
e1eb81cd21 Add lint rules from eslint-plugin-node. 2020-09-06 19:49:35 -07:00
David Anson
94d5432f4d Improve README.md/CustomRules.md, add CustomRules.md/Rules.md to tests. 2020-09-06 16:31:26 -07:00
David Anson
7ce5fd1597 Fix newly broken link to Microsoft/vscode-docs-authoring repository. 2020-08-19 21:17:21 -07:00
David Anson
ff40130e3e Minor updates to CONTRIBUTING.md, indefinite article fixes for Rules.md. 2020-08-15 16:57:43 -07:00
David Anson
e616efe594 Update two external URLs that have changed. 2020-08-02 14:04:42 -07:00
David Anson
53a0ba18d8 Add note to all rules in Rules.md that can be fixed automatically by tooling. 2020-06-21 23:11:33 -07:00
David Anson
320acfd7cc Update MD034/no-bare-urls to allow quoting bare URLs. 2020-04-08 21:58:52 -07:00
David Anson
65b19b703b Update MD038/no-space-in-code to allow the "single leading and trailing space" scenario (fixes #271). 2020-04-06 20:43:38 -07:00
David Anson
dd66a33d75 Update MD034/no-bare-urls to ignore "[link]" scenario that conflicts with MD011/no-reversed-links (fixes #268). 2020-04-01 20:21:36 -07:00
David Anson
de86a26e4e Update MD013/line-length to support stern parameter (fixes #256). 2020-03-22 14:06:29 -07:00
David Anson
742f2a8d79 Update MD029/ol-prefix to treat 0/1/2 as "ordered" (fixes #250). 2020-03-18 21:50:28 -07:00
David Anson
0f73f06232
Add note about blocks and list indentation to MD029/ol-prefix. 2020-03-05 11:41:59 -08:00
David Anson
a1249ad24d Add "Rationale" section to documentation for every rule (fixes #228). 2020-01-20 15:10:17 -08:00
David Anson
9ac06456d1 Update MD014/commands-show-output to allow blanks and output-less commands (fixes #241). 2020-01-18 21:28:42 -08:00
David Anson
d15324478c Deprecate MD006/ul-start-left in favor of MD007/ul-indent. 2020-01-13 19:19:49 -08:00
Jeremy Thomerson
9aeddedb7d Allow for first level indentation of lists in MD007/ul-indent (fixes #242). 2020-01-01 12:53:03 -08:00
David Anson
b39e5e309e Update MD013/line-length to include strict mode (fixes #237). 2019-12-12 21:22:45 -08:00
David Anson
6f3c67f760 Update MD009/no-trailing-spaces to include strict mode (fixes #216). 2019-12-09 22:05:57 -08:00
David Anson
0a9ac73524 Introduce type declaration file for project after updating typescript dependency to 3.7.2. 2019-11-10 19:26:55 -08:00
Marius Lichtblau
e9b3cc4c18 Add fenced code block style rule (#224) (fixes #223). 2019-10-24 20:26:27 -07:00