Commit graph

496 commits

Author SHA1 Message Date
David Anson
75191b7c70 Update to version 0.18.0. 2019-12-14 13:50:48 -08:00
David Anson
933c9da75c Update dependencies: @types/node to 12.12.17, cpy-cli to 3.0.0, eslint to 6.7.2, glob to 7.1.6, markdownlint-rule-helpers to 0.5.0, typescript to 3.7.3, uglify-js to 3.7.2. 2019-12-13 22:50:04 -08:00
David Anson
b39e5e309e Update MD013/line-length to include strict mode (fixes #237). 2019-12-12 21:22:45 -08:00
David Anson
5ae5e448b0 Update MD030/list-marker-space to allow bare list item markers for templating scenarios (fixes #235). 2019-12-10 22:09:40 -08:00
David Anson
6f3c67f760 Update MD009/no-trailing-spaces to include strict mode (fixes #216). 2019-12-09 22:05:57 -08:00
David Anson
a9251c533f Add markdownlint-disable-file/markdownlint-enable-file inline comments (fixes #215). 2019-12-04 21:31:49 -08:00
David Anson
c0f040e5c1 Replace Azure DevOps CI workflow with GitHub Action. 2019-12-03 21:27:34 -08:00
David Anson
3cd7457fb4
Add GitHub Action for running CI tests. 2019-12-01 22:05:28 -08:00
David Anson
3e91da338c Update MD007/ul-indent to report/fix for all unordered list item groupings. 2019-12-01 17:30:47 -08:00
David Anson
3981bc7897 Update MD006/ul-start-left to report/fix for all top-level items in lists that start indented. 2019-11-29 21:45:59 -08:00
David Anson
e717608cac Update type declaration for MarkdownItToken with custom line/lineNumber properties. 2019-11-11 21:09:37 -08:00
David Anson
0a9ac73524 Introduce type declaration file for project after updating typescript dependency to 3.7.2. 2019-11-10 19:26:55 -08:00
David Anson
37307d0764 Add @ts-check to JS files without it, address resulting issues. 2019-10-30 20:37:06 -07:00
David Anson
eacfa6142b Allow "$schema" field in .markdownlint.json schema (fixes #227). 2019-10-25 14:45:32 -07:00
Marius Lichtblau
e9b3cc4c18 Add fenced code block style rule (#224) (fixes #223). 2019-10-24 20:26:27 -07:00
David Anson
fd06a50ee5 Update to version 0.17.2. 2019-10-24 20:23:22 -07:00
David Anson
c60bce69e2 Add tests for MD033/no-inline-html to verify earlier fix for stateful RegExp issue (fixes #231). 2019-10-24 20:18:16 -07:00
David Anson
84b6d935f5 Fix issue in MD020/no-missing-space-closed-atx that reported errors for single-character headers (fixes #229). 2019-10-24 20:18:16 -07:00
David Anson
31ffe52f0f Fix issue with MD044/proper-names where stateful RegExp could fail to match bare URLs, remove unnecessary use of bareUrlRe by MD033/no-inline-html. 2019-10-24 20:18:16 -07:00
Heyward Fann
57c661700a Add coc-markdownlint in README (#230) 2019-10-22 08:51:10 -07:00
David Anson
61f6df7c83 Update to version 0.17.1. 2019-10-19 17:55:10 -07:00
David Anson
26267d18bd Add .NET Documentation to Examples in README.md. 2019-10-19 17:40:13 -07:00
David Anson
9202ebe390 Update fixInfo.lineNumber for front matter, sanitize fixInfo object from rules. 2019-10-19 17:34:02 -07:00
David Anson
377323d872 Update to version 0.17.0. 2019-10-04 21:46:06 -07:00
David Anson
dc39509f25 Update dependencies: @types/node to 12.7.11, browserify to 16.5.0, eslint to 6.5.1, markdownlint-rule-helpers to 0.4.0, rimraf to 3.0.0, typescript to 3.6.3. 2019-10-03 20:56:46 -07:00
David Anson
17487dd105 Update dependencies: markdown-it to 10.0.0. 2019-10-03 20:47:28 -07:00
David Anson
b24c1e6d06 Add CodiMD to Examples section of README.md. 2019-10-02 20:18:10 -07:00
David Anson
21fa4dc2e7 Include markdownlint-browser.js in npm package for scenarios like https://github.com/hackmdio/codimd/issues/1256. 2019-10-02 20:10:42 -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
c4f77e021d Update MD014/commands-show-output to report each violation, include fix information (fixes #217). 2019-10-01 22:12:12 -07:00
David Anson
1edb3f0a78 Update MD039/no-space-in-links to handle hardbreaks (fixes #222). 2019-09-28 22:50:33 -07:00
David Anson
fa9e08cf53 Merge fixInfo branch to introduce automatic fix ability for built-in and custom rules (fixes #80). 2019-09-28 17:16:08 -07:00
David Anson
6587ba7261 Fix MD011/no-reversed-links to better handle escaped RegExp content in reversed links. 2019-09-28 14:30:16 -07:00
David Anson
40ac584482 Update annotateTokens to handle multi-line code spans. 2019-09-27 21:18:16 -07:00
David Anson
3632ce28b9 Fix highlighting of MD011/no-reversed-links when preceeded by decorated text. 2019-09-26 22:29:01 -07:00
David Anson
a5f03d02d0 Fix forEachInlineCodeSpan to handle lines ending with '\' better. 2019-09-25 21:59:37 -07:00
David Anson
33cb1a71ec Fix MD039/no-space-in-links to handle links within a multi-line paragraph. 2019-09-24 23:00:30 -07:00
David Anson
1ac2e6c3e8 Fix MD019/no-multiple-space-atx to ignore headings without content. 2019-09-24 22:40:41 -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
737126cf93 Update MD034/no-bare-urls to report multiple instances on the same line. 2019-09-22 21:31:02 -07:00
David Anson
a75f1ecf2a Fix MD039/no-space-in-links range for multiple issues on the same line. 2019-09-21 21:05:58 -07:00
David Anson
4843e277c0 Update applyFix to make line ending optional, MD047 to highlight only last character. 2019-09-20 21:50:44 -07:00
David Anson
d974e78e3f Update README.md and CustomRules.md documentation of new fixInfo behavior. 2019-09-19 21:49:42 -07:00
David Anson
33e3797084 Fix broken MD020/MD021/MD038 scenarios. 2019-09-19 21:39:59 -07:00
David Anson
677255a484 Fix applyFix handling of multiple line endings; MD022 handling of multiple lines. 2019-09-16 22:38:29 -07:00
David Anson
52939a6d7e Add validation of applyFixes via result snapshots. 2019-09-16 21:48:34 -07:00
David Anson
b77a56255f Update applyFix/es to preserve the dominant line ending for each input. 2019-09-14 22:31:08 -07:00
David Anson
220a1d78a9 Update newline handling to match latest CommonMark specification. 2019-09-14 13:53:35 -07:00
David Anson
65f6d38978 Validate errorInfo.fixInfo object/properties in extension calls to onError. 2019-09-14 13:39:27 -07:00
David Anson
5895ea62cb Rename and refactor applyFix from fixErrors for one-off scenarios. 2019-09-12 21:50:40 -07:00