Commit graph

609 commits

Author SHA1 Message Date
David Anson
2fb2a66c49 Add npm script "ci" for continuous integration scenarios. 2019-06-01 14:01:48 -07:00
David Anson
f748dc4b01 Add badge for Azure DevOps CI pipeline. 2019-06-01 12:21:02 -07:00
David Anson
d009e5b5be Update code coverage script to fail if coverage drops below 100%, show only failures. 2019-06-01 12:05:55 -07:00
David Anson
1fe04990a9 Add linting, attempt to suppress package.lock message on Windows. 2019-05-31 21:59:51 -07:00
David Anson
3abcc57b25 Update Azure DevOps Pipeline to run for all branches and Linux/Windows/macOS. 2019-05-30 21:22:45 -07:00
David Anson
ea57e59c51 Add Node version matrix to Azure DevOps Pipeline 2019-05-30 20:50:32 -07:00
David Anson
0e8b40ad74 Update azure-pipelines.yml for Azure Pipelines 2019-05-30 20:34:09 -07:00
David Anson
ce86ef688d Set up CI with Azure Pipelines
[skip ci]
2019-05-30 20:30:28 -07:00
David Anson
95d23b9a11 Update to version 0.14.2. 2019-05-18 13:36:06 -07:00
David Anson
517fc61424 Set options.handleRuleFailures=true in demo page for easier diagnostics. 2019-05-18 13:29:32 -07:00
David Anson
0f72bf054b Add options.handleRuleFailures for custom rule exceptions. 2019-05-18 12:32:52 -07:00
David Anson
0e5c44617f Add link to V8 project to Examples section of README.md. 2019-05-16 22:21:23 -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
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