Commit graph

397 commits

Author SHA1 Message Date
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
0b9b74ccfd Update to version 0.14.1. 2019-05-08 22:12:25 -07:00
David Anson
608f875fc2 Update MD033/no-inline-html to better handle inline code spans (fixes #182). 2019-05-08 22:06:17 -07:00
David Anson
f003926a72 Update MD033/no-inline-html to ignore email autolinks (fixes #183). 2019-05-08 18:42:26 -07:00
David Anson
ad8e4007c0 Update to version 0.14.0. 2019-05-07 22:11:04 -07:00
David Anson
3960a4a26d Minor updates for MD047 and to remove a reference to io.js. 2019-05-06 22:00:38 -07:00
David Anson
994903ba88 Update dependencies: eslint to 5.16.0, js-yaml to 3.13.1, typescript to 3.4.5, uglify-js to 3.5.11, @types/node to 12.0.0. 2019-05-06 21:57:13 -07:00
David Anson
bb6f9ba4cd Fix .travis.yml after_script to use nyc for coverage reporting. 2019-05-05 22:33:53 -07:00
David Anson
1b8b15693f Replace assign/clone helpers with object spread syntax. 2019-05-05 22:27:01 -07:00
David Anson
684416a902 Improve MD034/no-bare-urls range reporting (fixes #181). 2019-05-04 20:14:59 -07:00
David Anson
dba6d4994b Remove support for end-of-life Node.js version 6. 2019-04-30 22:17:29 -07:00
David Anson
b55d51cf23 Add additional validation of lineNumber/range properties in rule onError function. 2019-04-30 22:14:30 -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
44fac78721 Add new Node.js version 12 to CI. 2019-04-23 20:34:03 -07:00
KitoW
a977d0dcbc Add MD047/single-trailing-newline for enforcing new lines at the end of file (fixes #89). 2019-04-19 20:13:07 -07:00
David Anson
73511ff677 Remove trimLeft/trimRight helpers; use native implementations. 2019-04-17 14:54:27 -07:00
David Anson
22c36c388f Add edge case tests for MD039/no-space-in-links. 2019-04-17 14:45:28 -07:00
David Anson
0af999e218 Implement rule MD046/code-block-style from Ruby version. 2019-04-17 14:42:17 -07:00
David Anson
c45eead5d7 Add Garden React Components to Examples section of README. 2019-04-14 22:01:24 -07:00
David Anson
559f0b042c Update build-demo script to reference new helpers module. 2019-04-14 21:57:57 -07:00
David Anson
8c6ef2521c Update custom rule samples to use markdownlint-rule-helpers package. 2019-04-13 11:27:28 -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
f614f3e1ce Remove state from shared.js, move to cache.js. 2019-04-10 21:26:59 -07:00
David Anson
827e1acb56 Add "Copy Link" link to demo, restore sample text from URL hash if present. 2019-04-02 22:07:32 -07:00
David Anson
7aadb1124e Add legacy browser detection to demo, tweak sample text. 2019-04-01 22:08:53 -07:00
David Anson
6f7c0aac13 Update to version 0.13.0. 2019-03-30 15:08:04 -07:00
David Anson
a35b2e4041 Update sample output in README.md for recent changes. 2019-03-30 14:43:27 -07:00
David Anson
ec35833751 Update dependencies: @types/node to 11.12.0, eslint to 5.15.3, js-yaml to 3.13.0, typescript to 3.3.4000, uglify-js to 3.5.2. 2019-03-30 14:36:04 -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
d7c0d195d7 Update MD013/line-length with heading_line_length parameter (fixes #170). 2019-03-26 22:34:19 -07:00
David Anson
fa04d29485 Enhance MD022/blanks-around-headings with lines_above/lines_below parameters (fixes #143). 2019-03-24 21:50:56 -07:00
David Anson
debc08bca1 Re-implement MD022/blanks-around-headings to ignore comments and blockquotes. 2019-03-21 21:42:24 -07:00
David Anson
1db87ef0c6 Update MD031/blanks-around-fences and MD032/blanks-around-lists to ignore comments and blockquotes (fixes #171, fixes #172). 2019-03-20 21:48:18 -07:00
David Anson
df2507f030 Add support for pandoc-style YAML front matter fences ---/... (fixes #153). 2019-03-17 22:05:50 -07:00
David Anson
61d6311a3e Add front_matter_title parameter to MD025/single-title/single-h1 (refs #169). 2019-03-16 20:21:57 -07:00
David Anson
050cbbba82 Add name first-line-heading to MD041 for clarity (refs #169). 2019-03-13 21:39:15 -07:00
David Anson
0184f9d618 Deprecate MD002/first-heading-h1 in favor of MD041/first-line-h1 (refs #169). 2019-03-12 22:23:12 -07:00
David Anson
c71bb4fbd5 Update MD041/first-line-h1 to allow secondary headings if a YAML title is present (refs #116). 2019-03-10 22:10:33 -07:00
David Anson
ed295cd947 Add style "zero" to MD029/ol-prefix (fixes #140). 2019-03-06 21:57:19 -08: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
4d436be500 Add other example repositories for custom rules. 2019-03-03 21:35:20 -08:00
David Anson
3e753636cf Handle case where token map extends beyond last line of input (fixes #166). 2019-02-13 19:52:34 -08:00
David Anson
90bd0810e7 Update copyright year to 2019, all HTTP links to HTTPS. 2019-02-10 11:38:01 -08:00
David Anson
045238740f Update to version 0.12.0. 2019-02-03 21:41:38 -08:00
David Anson
1ada55fd60 Modify build-demo to work with updated dependencies and recent changes. 2019-01-31 22:33:48 -08:00
David Anson
550ef6a53d Update dependencies: @types/node to 10.12.21, browserify to 16.2.3, eslint to 5.12.1, glob to 7.1.3, js-yaml to 3.12.1, rimraf to 2.6.3, toml to 3.0.0, typescript to 3.3.1, uglify-js to 3.4.9. 2019-01-31 21:52:47 -08:00
David Anson
ff50da3b42 Re-implement MD038 to handle multi-line spans better and rely less on RegExp. 2019-01-30 22:09:20 -08:00
David Anson
3b49414183 Re-implement MD032 to detect missed scenarios and simplify. 2019-01-21 18:21:36 -08:00
David Anson
8a175955d7 Add options.markdownItPlugins to support using markdown-it plugins when parsing. 2019-01-19 12:52:13 -08:00