David Anson
|
19dfb960f1
|
Refactor to remove helpers.getPlatformIdentifier and simplify.
|
2022-05-05 23:14:18 -07:00 |
|
David Anson
|
295e481552
|
Fix null dereference in helpers.getPreferredLineEnding when running in browser (platform unknown, process object not available) and input string does not contain line endings.
|
2022-05-04 22:09:11 -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
|
7a53caa7fb
|
Replace helpers.linkRe with helpers.forEachLink to fix "Polynomial regular expression used on uncontrolled data" and to better support link syntax.
|
2022-02-18 21:14:14 -08:00 |
|
David Anson
|
1c89dd5776
|
Reimplement helpers.isBlankLine to fix an instance of "Polynomial regular expression used on uncontrolled data".
|
2022-02-11 21:54:43 -08:00 |
|
David Anson
|
b9474e84a3
|
Add optional "platform" parameter to helpers.applyFixes (closes #496).
|
2022-02-09 22:44:49 -08:00 |
|
David Anson
|
fd24b9552b
|
Remove require("os") from helpers to reduce dependencies for browser scenarios.
|
2021-12-27 03:41:43 +00:00 |
|
David Anson
|
5f0040679d
|
Deep freeze name/tokens/lines/frontMatterLines properties of params object before passing to (custom) rules for shared access.
|
2021-12-23 04:34:25 +00:00 |
|
David Anson
|
6dea67825a
|
Update definition of helpers.isBlankLine to treat unterminated start/end comments as potentially blank lines (fixes #431).
|
2021-12-20 04:18:45 +00:00 |
|
David Anson
|
ed325ebb56
|
Update MD004/ul-style to auto-fix violations (fixes #351).
|
2021-02-06 15:49:02 -08:00 |
|
David Anson
|
c7d2416f95
|
Change comment replacement character from " " (with trailing "\") to "." to avoid creating indented code blocks.
|
2021-01-30 14:36:11 -08:00 |
|
David Anson
|
c4e236b858
|
Update clearHtmlCommentText helper to match CommonMark (instead of HTML) specification (refs #361).
|
2021-01-30 13:08:57 -08:00 |
|
David Anson
|
838afe0a00
|
Update clearHtmlCommentText helper to match HTML specification better; "--" within a comment does not make it invalid (fixes #361).
|
2021-01-28 21:45:53 -08:00 |
|
David Anson
|
49945d6601
|
Convert from tape test harness to ava, address minor declaration file issue.
|
2021-01-10 20:46:00 -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
|
1f6a2cdc96
|
Split primary test cases across multiple files, address bogus @ts-ignore issues.
|
2020-09-12 12:42:46 -07:00 |
|
David Anson
|
ebc74e3d5f
|
Duplicate markdownlint-test.js as first step of splitting it into smaller files.
|
2020-09-12 12:13:06 -07:00 |
|