Commit graph

29 commits

Author SHA1 Message Date
David Anson
4ff6f2f4b1 Change behavior of un-terminated HTML comments to be treated as text (fixes #252). 2020-03-09 23:06:13 -07:00
David Anson
3238ed4249 Update all rules to better handle wrongly-typed configuration parameters. 2020-01-25 18:40:39 -08:00
David Anson
74af9f82fb Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85). 2020-01-23 19:42:46 -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
a9251c533f Add markdownlint-disable-file/markdownlint-enable-file inline comments (fixes #215). 2019-12-04 21:31:49 -08:00
David Anson
3e91da338c Update MD007/ul-indent to report/fix for all unordered list item groupings. 2019-12-01 17:30:47 -08:00
David Anson
a5f03d02d0 Fix forEachInlineCodeSpan to handle lines ending with '\' better. 2019-09-25 21:59:37 -07:00
David Anson
737126cf93 Update MD034/no-bare-urls to report multiple instances on the same line. 2019-09-22 21:31:02 -07:00
David Anson
4843e277c0 Update applyFix to make line ending optional, MD047 to highlight only last character. 2019-09-20 21:50:44 -07:00
David Anson
677255a484 Fix applyFix handling of multiple line endings; MD022 handling of multiple lines. 2019-09-16 22:38:29 -07:00
David Anson
b77a56255f Update applyFix/es to preserve the dominant line ending for each input. 2019-09-14 22:31:08 -07:00
David Anson
220a1d78a9 Update newline handling to match latest CommonMark specification. 2019-09-14 13:53:35 -07:00
David Anson
65f6d38978 Validate errorInfo.fixInfo object/properties in extension calls to onError. 2019-09-14 13:39:27 -07:00
David Anson
5895ea62cb Rename and refactor applyFix from fixErrors for one-off scenarios. 2019-09-12 21:50:40 -07:00
David Anson
316bfeadaa Update MD018/MD019/MD020/MD021 to report fixInfo for violations. 2019-09-08 16:51:00 -07:00
David Anson
5e73aa1d9d Update MD006/MD023 to report fixInfo for violations, process input to fixErrors. 2019-09-02 15:35:43 -07:00
David Anson
a062e7c6bd Update MD022/MD031/MD032 to report fixInfo for violations, normalize input to fixErrors. 2019-08-28 21:47:07 -07:00
David Anson
2cd27c58f2 Update MD009/MD010/MD012/MD028 to report fixInfo for violations. 2019-08-24 22:55:51 -07:00
David Anson
cdd87e647f Add infrastructure for rules to include fix information when logging violations, update MD047 (refs #80). 2019-08-16 19:56:52 -07:00
David Anson
c5b74d22b9 Update MD031/blanks-around-fences to include list_items parameter (fixes #200). 2019-08-02 22:58:41 -07:00
David Anson
c3e8eab87b Update MD038/no-space-in-code to ignore backticks in link destinations (fixes #206). 2019-07-28 16:48:32 -07:00
David Anson
cd7a65cedd Allow for trailing spaces after front matter open/close fences (fixes #208). 2019-07-27 18:10:26 -07:00
David Anson
65052f6200 Add support for inline comments markdownlint-capture/markdownlint-restore (fixes #194). 2019-06-08 19:26:11 -07:00
David Anson
1d8b9e7e62 Add full-width punctuation characters to MD026/no-trailing-punctuation and MD036/no-emphasis-as-heading (fixes #192). 2019-06-06 22:21:31 -07:00
David Anson
61c92e5997 Handle un-closed HTML comments in a way that does not trigger MD047/single-trailing-newline (fixes #187). 2019-05-16 22:14:07 -07:00
David Anson
1b8b15693f Replace assign/clone helpers with object spread syntax. 2019-05-05 22:27:01 -07:00
David Anson
4c7ffdd335 Improve handling of nested tags and blocks by MD033/no-inline-html (fixes #179). 2019-04-29 22:09:33 -07:00
David Anson
73511ff677 Remove trimLeft/trimRight helpers; use native implementations. 2019-04-17 14:54:27 -07:00
David Anson
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
Renamed from lib/shared.js (Browse further)