Commit graph

676 commits

Author SHA1 Message Date
David Anson
c1f0f26565 Update to version 0.23.0. 2021-02-06 20:07:48 -08: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
ec907567e2 Update dependencies: c8 to 7.5.0, eslint to 7.19.0, globby to 11.0.2, js-yaml to 4.0.0, markdownlint-rule-helpers to 0.13.0, ts-loader to 8.0.15, typescript to 4.1.3, webpack to 5.21.1, webpack-cli to 4.5.0. 2021-02-06 19:23:55 -08:00
David Anson
7faa2c7607 Update dependencies: Remove @types/node. 2021-02-06 19:11:54 -08:00
David Anson
59ed334199 Update dependency: markdown-it to 12.0.4. 2021-02-06 16:12:40 -08:00
David Anson
a92da33235 Update MD004/ul-style to handle invalid "style" parameter values. 2021-02-06 16:09:16 -08:00
David Anson
77217ce33e Update browser demo to fix all errors when shift-clicking the "Fix" link. 2021-02-06 15:55:21 -08:00
David Anson
ed325ebb56 Update MD004/ul-style to auto-fix violations (fixes #351). 2021-02-06 15:49:02 -08:00
David Anson
5aef3a4a51 Update MD018/MD019/MD020/MD021 to look specifically for "space" characters (space or tab) instead of RegExp's "\s" characters per CommonMark specification (fixes #367). 2021-02-03 22:05:07 -08:00
David Anson
d2d4b310b9 Remove override of line-length rule for Rules.md validation. 2021-01-31 16:02:49 -08:00
David Anson
1d042aa3fd Update MD041/first-line-heading to recognize HTML headings (fixes #366). 2021-01-31 15:51:57 -08:00
David Anson
c7d2416f95 Change comment replacement character from " " (with trailing "\") to "." to avoid creating indented code blocks. 2021-01-30 14:36:11 -08:00
David Anson
c4e236b858 Update clearHtmlCommentText helper to match CommonMark (instead of HTML) specification (refs #361). 2021-01-30 13:08:57 -08:00
David Anson
6f39df1417 Ignore .DS_Store file on macOS. 2021-01-29 19:50:33 -08:00
David Anson
838afe0a00 Update clearHtmlCommentText helper to match HTML specification better; "--" within a comment does not make it invalid (fixes #361). 2021-01-28 21:45:53 -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
238781506a Generate example YAML configuration with all properties set to their default value. 2021-01-21 19:50:57 -08:00
David Anson
5b7e9b87be Generate example JSONC configuration with all properties set to their default value. 2021-01-19 20:41:04 -08:00
David Anson
cc61de8f2b Increase ava test timeout to 5 minutes for test-extra and lint-test-repos scripts. 2021-01-10 20:50:35 -08:00
David Anson
49945d6601 Convert from tape test harness to ava, address minor declaration file issue. 2021-01-10 20:46:00 -08:00
David Anson
80069552b4 Minor improvements to README.md URL and line length. 2021-01-08 21:53:55 -08:00
David Anson
87b3b1d7e4 Update list of deprecated rules in web demonstration text. 2021-01-08 21:42:24 -08:00
David Anson
fd6564276e Add (unused) outdir to tsconfig.json to silence bogus TypeScript compiler warning about overwriting input files. 2021-01-07 23:40:58 -08:00
David Anson
64265056c6 Use npm-run-all package to run ci script in parallel (reduces run time from 25s to 10s on M1). 2021-01-07 23:32:58 -08:00
David Anson
d748be2c79 Add --no-stats to webpack command. 2021-01-07 23:23:02 -08:00
David Anson
9636827693 Sort npm scripts, add declaration script to combine build-declaration and test-declaration. 2021-01-07 23:18:24 -08:00
David Anson
d8f1623f5f Update copyright year to 2021. 2021-01-07 23:07:26 -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
d5b1122ef1 Restore build-demo script to ci script after conversion to webpack. 2021-01-06 19:48:52 -08:00
David Anson
5838b62e6d Use ts-loader with webpack to avoid needing to compile lib-es3. 2021-01-06 19:45:15 -08:00
David Anson
868310a094 Remove useless assignment to local variable. 2021-01-05 21:06:00 -08:00
David Anson
369b0b5934 Replace browserify/uglify-js with webpack, shrink markdownlint-browser.js (fixes #362). 2021-01-05 20:55:09 -08:00
David Anson
202b50060b Remove build-demo script from ci script due to seeming race condition leading to inconsistent output. 2021-01-02 23:40:16 -08:00
David Anson
5395b1aedc Add build-declaration and build-demo scripts to ci script. 2021-01-02 23:18:00 -08:00
David Anson
78ffa5d39d Run build-config-schema script at end of ci script and fail if any changes are detected. 2020-12-30 16:58:25 -08:00
David Anson
65885fa899 Merge branch 'Yash-Singh1-patch-1' into 'next'. 2020-12-30 16:49:50 -08:00
David Anson
428cf20dc4 Minor tweak to previous commit. 2020-12-30 16:45:15 -08:00
Yash Singh
2a198a5ee4 Fix grammar issues in Rules.md. 2020-12-30 16:42:34 -08:00
David Anson
55360058c5
Update ci.yml to run CI script on Node 15 (exclude only problematic older versions). (#356) 2020-12-10 22:45:26 -08:00
Nick Schonning
a564b07388
chore: Use npm test in coverage (#352) 2020-12-09 08:51:57 -08:00
Nick Schonning
0c309c63c1
chore: Use ESLint overrides for config (#348) 2020-12-07 21:17:14 -08:00
Nick Schonning
a9d25b04ac
chore: Don't generate package-lock.json (#349) 2020-12-05 17:18:00 -08:00
Nick Schonning
cce150d647
chore: Replace make-dir-cli with mkdir (#347)
There is a minor npm audit issue with the library.
Since there is no recursive creatation needed, regular
mkdir can be used.
2020-12-05 12:56:30 -08:00
David Anson
2a9274ece5 Update to version 0.22.0. 2020-11-24 16:49:12 -08:00
David Anson
0c68e855f7 Update generated files. 2020-11-24 16:37:11 -08:00
David Anson
d2bd75748f Update dependencies: @types/node to 14.14.9, browserify to 17.0.0, c8 to 7.3.5, eslint to 7.14.0, eslint-plugin-jsdoc to 30.7.8, eslint-plugin-unicorn to 23.0.0, markdownlint-rule-helpers to 0.12.0, typescript to 4.1.2, uglify-js to 3.12.0. 2020-11-24 16:25:43 -08:00
David Anson
c2541468ff Exclude file in test-repos scenario due to table parsing (breaking) change in markdown-it v12. 2020-11-24 13:46:23 -08:00
David Anson
85563c3e63 Handle missing token.map for th_open tokens (breaking) change in markdown-it v12. 2020-11-24 13:01:19 -08:00
David Anson
77594dbf77 Update dependency: markdown-it to 12.0.2. 2020-11-24 11:11:32 -08:00