Commit graph

622 commits

Author SHA1 Message Date
David Anson
bd63c57fde Update MD009/no-trailing-spaces to allow trailing spaces in fenced code blocks (fixes #292). 2020-11-21 16:53:31 -08:00
David Anson
6c1bc8ecb5 Allow question mark by default for MD026/no-trailing-punctuation (fixes #276). 2020-11-17 20:32:17 -08:00
David Anson
3827842930 Delete markdownlint-test-default-config.json, allow MD041 to default to true, add missing headings. 2020-11-15 17:03:20 -08:00
David Anson
bb157b2ce7 Support JSON front matter as used by the Hugo site generator (fixes #270). 2020-11-14 19:40:15 -08:00
David Anson
47d82d6fd4 Add library version to demo page header. 2020-11-14 16:42:18 -08:00
David Anson
32db81b740 Work around problems related to markdown-it-texmath plugin's token.map not accounting for math_block_end. 2020-11-12 23:08:46 -08:00
David Anson
a3f8fb7c62 Add test-extra script to test-repos.yml. 2020-11-06 19:23:08 -08:00
David Anson
dd2c1d08ee Minor tweaks to previous PR commit. 2020-11-06 19:23:08 -08:00
Alexander Kachkaev
4bff44e33f Use require.resolve as a fallback of path.resolve (#342) 2020-11-06 19:23:08 -08:00
David Anson
bc0b7373ff Add Node 15 to CI test matrix. 2020-11-06 19:19:29 -08:00
David Anson
dc4e07ad5b Rename CI workflow file from nodejs.yml to ci.yml. 2020-11-06 19:17:38 -08:00
David Anson
532a2881f2 Update to version 0.21.1. 2020-10-20 20:16:49 -07:00
David Anson
fb49877c86 Change ESLint ecmaVersion to 2019, remove unused catch binding. 2020-10-20 19:59:38 -07:00
David Anson
aafd0830a2 Enable reportUnusedDisableDirectives for ESLint, address new warning. 2020-10-20 19:56:16 -07:00
David Anson
a971361cf2 Add getVersion function to exports for easy access by tooling (ex: CLI). 2020-10-17 14:17:35 -07:00
David Anson
bd50a15a96 Replace @iktakahiro/markdown-it-katex with markdown-it-texmath for consistency with VS Code extension. 2020-10-16 20:59:04 -07:00
David Anson
651840d4e3 Simplify build-declaration script slightly. 2020-10-16 14:48:03 -07:00
David Anson
392cc287e6 Handle implicit close fence in MD031/blanks-around-fences to avoid null-dereference. 2020-10-16 14:08:42 -07:00
David Anson
9afd4e1ab5 Avoid exception when MD011/no-reversed-links is not able to report column/length (fixes #339). 2020-10-14 20:57:04 -07:00
David Anson
aa7fbce2dd Update code to fix or document false positives for CodeQL warnings. 2020-10-02 13:44:18 -07:00
David Anson
f1f6868a2c Initialize GitHub code scanning workflow using security-and-quality suite. 2020-10-02 13:20:07 -07:00
David Anson
82cf68023f Update recently-broken link in Rules.md. 2020-09-30 21:59:22 -07:00
David Anson
59eaa869fc Update to version 0.21.0. 2020-09-20 12:23:26 -07:00
David Anson
281de5ae2b Allow GitHub workflows to run on workflow_dispatch. 2020-09-20 12:08:39 -07:00
David Anson
2605d56c62 MD044/proper-names should ignore text of automatic hyperlinks (fixes #329). 2020-09-18 20:30:46 -07:00
David Anson
6061cce169 Allow unknown (custom) rule names in .markdownlint.json schema. 2020-09-15 21:48:00 -07:00
David Anson
3f637ba8e5 Add ability to fix issues with markdownlint demo page, refactor slightly. 2020-09-15 21:15:35 -07:00
David Anson
e1134f0db9 Update markdownlint demo code with latest changes. 2020-09-13 21:15:11 -07:00
David Anson
e9d63a6284 Add Promise-based APIs for markdownlint and readConfig, update declaration file. 2020-09-13 12:58:09 -07:00
David Anson
1f6a2cdc96 Split primary test cases across multiple files, address bogus @ts-ignore issues. 2020-09-12 12:42:46 -07:00
David Anson
ebc74e3d5f Duplicate markdownlint-test.js as first step of splitting it into smaller files. 2020-09-12 12:13:06 -07:00
David Anson
4286f68152 Introduce concurrency to asynchronous file linting for improved performance. 2020-09-12 12:01:20 -07:00
David Anson
2851a691ba Make toString function on LintResults object non-enumerable (hide it from for..in). 2020-09-07 20:05:36 -07:00
David Anson
5ab938a6ab Add lint rules from eslint-plugin-unicorn. 2020-09-06 20:34:10 -07:00
David Anson
0f4745efe3 Exclude eslint-plugin-node rules from customRulesLintJavaScript test due to inconsistent behavior on Node 10. 2020-09-06 19:58:07 -07:00
David Anson
e1eb81cd21 Add lint rules from eslint-plugin-node. 2020-09-06 19:49:35 -07:00
David Anson
6525c36f1e Remove outdated/unused "debug" script from package.json. 2020-09-06 16:34:25 -07:00
David Anson
94d5432f4d Improve README.md/CustomRules.md, add CustomRules.md/Rules.md to tests. 2020-09-06 16:31:26 -07:00
David Anson
e0e5ce555a Update dependency: tape to 5.0.1. 2020-09-05 17:31:39 -07:00
David Anson
9181cf5bd1 Update dependencies: @types/node to 14.6.4, browserify to 16.5.2, c8 to 7.3.0, cpy-cli to 3.1.1, eslint to 7.8.1, eslint-plugin-jsdoc to 30.3.1, globby to 11.0.1, js-yaml to 3.14.0, markdownlint-rule-helpers to 0.11.0, strip-json-comments to 3.1.1, tape-player to 0.1.1, typescript to 4.0.2, uglify-js to 3.10.3. 2020-09-05 17:31:39 -07:00
David Anson
95377bcbaf Update dependency: markdown-it to 11.0.0. 2020-09-05 17:31:39 -07:00
Álvaro Mondéjar
6dc20fcc21 Fix inline of links with empty link. (fixes #308) 2020-09-05 17:31:39 -07:00
David Anson
2af3dd0d7a Replace dev dependency markdown-it-katex with @iktakahiro/markdown-it-katex per "npm audit". 2020-09-05 17:31:26 -07:00
David Anson
6521ba2dd0 Disable fail-fast strategy for CI (show all failures). 2020-08-30 22:51:11 -07:00
David Anson
7ce5fd1597 Fix newly broken link to Microsoft/vscode-docs-authoring repository. 2020-08-19 21:17:21 -07:00
David Anson
ff40130e3e Minor updates to CONTRIBUTING.md, indefinite article fixes for Rules.md. 2020-08-15 16:57:43 -07:00
David Anson
0acc578e52 Update remaining references to refer to main branch as "main". 2020-08-11 22:52:29 -07:00
David Anson
c7ec796cfc Add link to markdownlint-cli2 to README.md/Related. 2020-08-11 22:43:18 -07:00
David Anson
e616efe594 Update two external URLs that have changed. 2020-08-02 14:04:42 -07:00
David Anson
3b6421a224 Update to version 0.20.4. 2020-06-23 20:14:58 -07:00