David Anson
|
02240fac98
|
Add missing lineNumber property to FixInfo type (fixes #405).
|
2021-06-14 22:30:35 -07:00 |
|
David Anson
|
fb5f647368
|
Update dependencies: c8 to 7.7.2, eslint to 7.28.0, eslint-plugin-jsdoc to 35.1.3, eslint-plugin-unicorn to 33.0.1, globby to 11.0.3, js-yaml to 4.1.0, markdown-it-texmath to 0.9.0, markdownlint-rule-helpers to 0.14.0, ts-loader to 9.2.3, typescript to 4.3.2, webpack to 5.38.1, webpack-cli to 4.7.2.
|
2021-06-08 22:20:13 -07:00 |
|
David Anson
|
a79e7843f2
|
Work around lack of webpack support for dynamic calls to require (.resolve).
|
2021-02-11 22:16:07 -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
|
49945d6601
|
Convert from tape test harness to ava, address minor declaration file issue.
|
2021-01-10 20:46: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
|
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
|
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
|
a6d30cb724
|
Implement markdownlint-disable-next-line inline comment (fixes #295).
|
2020-11-22 14:02:36 -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
|
fb49877c86
|
Change ESLint ecmaVersion to 2019, remove unused catch binding.
|
2020-10-20 19:59:38 -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
|
e9d63a6284
|
Add Promise-based APIs for markdownlint and readConfig, update declaration file.
|
2020-09-13 12:58:09 -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
|
e1eb81cd21
|
Add lint rules from eslint-plugin-node.
|
2020-09-06 19:49:35 -07:00 |
|
David Anson
|
6ce426cf88
|
Add support for "markdownlint-configure-file" inline comments (fixes #264).
|
2020-04-05 19:47:12 -07:00 |
|
David Anson
|
74af9f82fb
|
Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85).
|
2020-01-23 19:42:46 -08:00 |
|
David Anson
|
e3c93ed65d
|
Add eslint-plugin-jsdoc to lint script, address new violation.
|
2020-01-19 21:01:11 -08:00 |
|
David Anson
|
5f6e17915a
|
Copy range property of rule's onError object at time of call; add test to verify.
|
2020-01-13 19:49:51 -08:00 |
|
David Anson
|
d15324478c
|
Deprecate MD006/ul-start-left in favor of MD007/ul-indent.
|
2020-01-13 19:19:49 -08:00 |
|
David Anson
|
21b01b2a96
|
Resolve remaining TypeScript-based editor warnings in test file.
|
2020-01-11 20:48:00 -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
|
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
|
9202ebe390
|
Update fixInfo.lineNumber for front matter, sanitize fixInfo object from rules.
|
2019-10-19 17:34:02 -07:00 |
|
David Anson
|
40ac584482
|
Update annotateTokens to handle multi-line code spans.
|
2019-09-27 21:18:16 -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
|
679c83e23b
|
Update resultVersion 3 to report all issues on a line; update MD010/no-hard-tabs to log all issues.
|
2019-08-21 21:02:09 -07:00 |
|
David Anson
|
cdd87e647f
|
Add infrastructure for rules to include fix information when logging violations, update MD047 (refs #80).
|
2019-08-16 19:56:52 -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
|
0f72bf054b
|
Add options.handleRuleFailures for custom rule exceptions.
|
2019-05-18 12:32:52 -07:00 |
|
David Anson
|
1b8b15693f
|
Replace assign/clone helpers with object spread syntax.
|
2019-05-05 22:27:01 -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
|
7e980401b8
|
Expose shared.js helper code for custom rule authors (fixes #134).
|
2019-04-13 11:18:57 -07:00 |
|
David Anson
|
f614f3e1ce
|
Remove state from shared.js, move to cache.js.
|
2019-04-10 21:26:59 -07:00 |
|
David Anson
|
ec35833751
|
Update dependencies: @types/node to 11.12.0, eslint to 5.15.3, js-yaml to 3.13.0, typescript to 3.3.4000, uglify-js to 3.5.2.
|
2019-03-30 14:36:04 -07:00 |
|
David Anson
|
0184f9d618
|
Deprecate MD002/first-heading-h1 in favor of MD041/first-line-h1 (refs #169).
|
2019-03-12 22:23:12 -07:00 |
|
David Anson
|
3e753636cf
|
Handle case where token map extends beyond last line of input (fixes #166).
|
2019-02-13 19:52:34 -08:00 |
|
David Anson
|
8a175955d7
|
Add options.markdownItPlugins to support using markdown-it plugins when parsing.
|
2019-01-19 12:52:13 -08:00 |
|
David Anson
|
ff86e1d7f1
|
Add optional "information" property to custom rules to provide a link to more information.
|
2019-01-15 21:56:38 -08:00 |
|
David Anson
|
1c816897c1
|
Include file/string name in params object for custom rules (fixes #119).
|
2018-05-25 17:28:56 -07:00 |
|
David Anson
|
101edd8496
|
Add parsers parameter to readConfig/Sync to support non-JSON formats like YAML (fixes #118).
|
2018-05-23 22:24:40 -07:00 |
|
David Anson
|
213aef4564
|
Convert var to const/let (except in browser-only code).
|
2018-04-27 22:05:34 -07:00 |
|
David Anson
|
c7c4c032d1
|
Code review feedback for "header"->"heading" change.
|
2018-04-18 22:28:14 -07:00 |
|
David Anson
|
ff73e822cf
|
Make item loop iterative (vs. recursive) to handle synchronous processing of thousands of items.
|
2018-03-19 21:21:22 -07:00 |
|
David Anson
|
f80b61d8b7
|
Allow empty string for detail/context in onError callback from rules.
|
2018-03-17 22:11:56 -07:00 |
|
David Anson
|
b33acb81d9
|
Remove params.tokenLists to simplify custom rule API.
|
2018-03-01 22:37:37 -08:00 |
|