Commit graph

26 commits

Author SHA1 Message Date
David Anson
7cf9c2d6be Update MD037/no-space-in-emphasis to ignore embedded underscore emphasis markers (fixes #444, fixes #408, fixes #354, fixes #324). 2021-12-21 22:21:28 +00:00
David Anson
a508824b0f Refactor helpers.emphasisMarkersInContent slightly to avoid duplicate/unnecessary work. 2021-11-26 05:37:04 +00:00
David Anson
c99ced2a7d Update MD037/no-space-in-emphasis to ignore emphasis on code fences and not report violations for scenarios that span an empty code fence (fixes #381). 2021-08-22 15:28:28 -07:00
David Anson
c87d7f5b8c Update dependencies: eslint-plugin-jsdoc to 31.6.0, eslint-plugin-unicorn to 27.0.0. 2021-02-06 19:55:22 -08:00
David Anson
df4aa9f4e8 Update MD037/no-space-in-emphasis to ignore content of math blocks when used with markdown-it-texmath (fixes #357). 2021-01-24 17:50:39 -08:00
David Anson
d6cd840e7d Update MD037/no-space-in-emphasis to ignore violations in tables that include the table pipe character to avoid spanning cells. 2021-01-23 20:47:27 -08:00
David Anson
01d216ff6a Try adding @ts-ignore/etc. to resolve Windows/Node 14-only break when ci script invokes build-demo. 2021-01-06 20:28:24 -08:00
David Anson
5ab938a6ab Add lint rules from eslint-plugin-unicorn. 2020-09-06 20:34:10 -07:00
David Anson
26e70a2c6d Update MD037/no-space-in-emphasis to avoid hang when backtracking for embedded emphasis on first character of line. 2020-06-15 19:42:46 -07:00
David Anson
ac5d52a3e3 Update MD037/no-space-in-emphasis to ignore emphasis markers in link text (fixes #280). 2020-05-12 20:13:51 -07:00
David Anson
f607a49a5b Update MD037/no-space-in-emphasis to handle more scenarios (refs #286). 2020-05-10 17:06:07 -07:00
David Anson
37f1d6b64b Update MD037/no-space-in-emphasis to ignore emphasis markers in link text/destination (refs #286). 2020-05-08 16:01:42 -07:00
David Anson
70dc8fb6d3 Update MD037/no-space-in-emphasis to avoid pairing different kinds of emphasis marker. 2020-04-25 15:30:52 -07:00
David Anson
f5a71521d4 Update MD037/no-space-in-emphasis to ignore emphasis markers in code spans (fixes #278). 2020-04-25 15:10:07 -07:00
David Anson
f775b9d4fb Update rewritten MD037/no-space-in-emphasis to handle multiple-line emphasis (fixes #272). 2020-04-12 20:40:05 -07:00
David Anson
5c60e00a90 Update MD037/no-space-in-emphasis to avoid crash, handle more scenarios. 2020-04-11 12:33:28 -07:00
David Anson
29f16bf402 Reimplement MD037/no-space-in-emphasis to better handle multiple fixes on a line and more scenarios (fixes #251). 2020-03-29 16:36:04 -07:00
David Anson
caf21fb392 Update MD037/no-space-in-emphasis to handle "***"/"___" (fixes #218). 2019-10-02 19:56:52 -07:00
David Anson
dc8e746cd2 Update MD037/no-space-in-emphasis to report left+right errors only once. 2019-09-22 21:58:57 -07:00
David Anson
c8a74bd72c Update MD037/MD038/MD039 to report fixInfo for violations. 2019-09-06 22:35:33 -07:00
David Anson
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
David Anson
9b9532e163 Add includesSorted function, use for faster searches of sorted arrays. 2019-03-28 22:06:42 -07:00
David Anson
2ccacf03f5 MD037 should try to ignore escaped emphasis markers (fixes #168). 2019-03-04 19:54:23 -08:00
David Anson
dd3bd3d7ee Update MD037 to handle violations at the start/end of a line. 2019-03-04 19:24:57 -08:00
David Anson
213aef4564 Convert var to const/let (except in browser-only code). 2018-04-27 22:05:34 -07:00
David Anson
9ba143555d Move each rule implementation into its own file (fixes #83). 2018-01-21 21:44:25 -08:00