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
|
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
|
49945d6601
|
Convert from tape test harness to ava, address minor declaration file issue.
|
2021-01-10 20:46:00 -08:00 |
|
Yash Singh
|
2a198a5ee4
|
Fix grammar issues in Rules.md.
|
2020-12-30 16:42:34 -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
|
e20502c494
|
Update MD043/required-headings to treat "*" as "zero or more" and "+" as "one or more" (fixes #281).
|
2020-11-23 20:47:28 -08:00 |
|
David Anson
|
c693a9a3d8
|
Update MD026/no-trailing-punctuation to ignore the trailing semicolon of HTML entity references (fixes #320).
|
2020-11-23 15:23:39 -08:00 |
|
David Anson
|
09c5736385
|
Remove automatic fix from MD028/no-blanks-blockquote due to ambiguity (fixes #315).
|
2020-11-23 14:57:19 -08:00 |
|
David Anson
|
a6d30cb724
|
Implement markdownlint-disable-next-line inline comment (fixes #295).
|
2020-11-22 14:02:36 -08:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
Á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
|
0acc578e52
|
Update remaining references to refer to main branch as "main".
|
2020-08-11 22:52:29 -07:00 |
|
David Anson
|
e1772ddc51
|
Group items in "Related" section of README.md by category.
|
2020-06-22 21:03:26 -07:00 |
|
David Anson
|
6ac5fa52a6
|
Update bare URL RegExp to improve the behavior of MD034/no-bare-urls with trailing punctuation (fixes #283).
|
2020-06-21 21:47:32 -07:00 |
|
David Anson
|
e696960aab
|
Update MD044/proper-names to handle names with non-word-character boundaries better.
|
2020-06-19 21:09:11 -07:00 |
|
David Anson
|
26e70a2c6d
|
Update MD037/no-space-in-emphasis to avoid hang when backtracking for embedded emphasis on first character of line.
|
2020-06-15 19:42:46 -07:00 |
|
David Anson
|
87aac66d68
|
Update MD044/proper-names to avoid providing bogus range when proper name could not be found.
|
2020-05-13 20:59:18 -07:00 |
|
David Anson
|
ac5d52a3e3
|
Update MD037/no-space-in-emphasis to ignore emphasis markers in link text (fixes #280).
|
2020-05-12 20:13:51 -07:00 |
|
David Anson
|
f607a49a5b
|
Update MD037/no-space-in-emphasis to handle more scenarios (refs #286).
|
2020-05-10 17:06:07 -07:00 |
|