Commit graph

430 commits

Author SHA1 Message Date
David Anson
4d11e60cfe Add custom rule example to lint JavaScript code blocks using ESLint (fixes #197). 2019-07-30 23:07:42 -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
91b4fcd55f Update MD026/no-trailing-punctuation to handle empty punctuation paramater, escape for RegExp (fixes #205). 2019-07-26 23:03:56 -07:00
David Anson
d336a11665 Simplify RegExp from previous commit. 2019-07-26 22:34:32 -07:00
David Anson
f81609d1bb Update MD033/no-inline-html to ignore elements with embedded forward slash (fixes #201). 2019-07-25 21:40:53 -07:00
Travis C. LaGrone
37236df18e Strike-through deprecated rule headings (fixes #203).
Changes:
- Formats the headings of deprecated rules using strikethrough in the 'Rules /
Aliases' section of the 'README.md' file and in the 'doc/Rules.md' file.
- Updates the 'readme' and 'doc' tests in the 'test/markdownlint-test.js' file
to permit their respective rule headings to be formatted using strikethrough.

Benefits:
- Indicates rule deprecation status 'at a glance'.

(fixes #203)
2019-07-08 19:10:08 +01:00
David Anson
1ae512be69 Update to version 0.15.0. 2019-06-09 16:51:41 -07:00
David Anson
569e4c175b Update dependencies: @types/node to 12.0.7, glob to 7.1.4, markdownlint-rule-helpers to 0.2.1, nyc to 14.1.1, typescript to 3.5.1, uglify-js to 3.6.0. 2019-06-09 14:28:50 -07:00
David Anson
8e760b7255 Remove Travis CI/Coveralls badges (replaced by Azure DevOps). 2019-06-09 14:23:50 -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
64351f73be Update MD013/line-length with new code_block_line_length parameter (fixes #184). 2019-06-07 19:57:15 -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
fa40084994 Make MD033/no-inline-html slightly more efficient. 2019-06-06 22:02:10 -07:00
David Anson
73e70b76f3 Update MD033/no-inline-html to handle escaped backticks (fixes #193). 2019-06-04 23:19:49 -07:00
David Anson
5a142da87c Add Boostnote to examples in README. 2019-06-04 21:57:27 -07:00
David Anson
f31fe89d02 Split Azure DevOps npm install/ci commands into different steps. 2019-06-03 22:34:32 -07:00
David Anson
853e90a1c1 Update MD033/no-inline-html to match specification for element names (fixes #188). 2019-06-03 22:32:04 -07:00
David Anson
861e741d48 Update .npmignore with new files/directories. 2019-06-03 22:21:28 -07:00
Wouter Admiraal
779a55a662 Allow trailing spaces in indented code blocks (#191) 2019-06-01 15:26:48 -07:00
David Anson
2f1c2c5312 Convert Azure DevOps script to one-liner to work around early exit on Windows due to invoking a script from a script (npm). 2019-06-01 15:19:24 -07:00
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