David Anson
|
cba2ca0dbd
|
Update to version 0.26.1.
|
2022-07-24 12:31:06 -07:00 |
|
David Anson
|
5b0588f378
|
Update helpers.expandTildePath to handle receiving an os object without homedir, address minor @ts-check confusion in same file.
|
2022-07-24 12:22:32 -07:00 |
|
David Anson
|
95466e29be
|
Remove some ignores for external repository testing that are no longer needed.
|
2022-07-21 04:27:14 +00:00 |
|
David Anson
|
59a4a56bfc
|
Add tests for MD051/link-fragments to validate quotes and accented characters (refs #536).
|
2022-07-21 04:17:11 +00:00 |
|
David Anson
|
1bd748f79e
|
Update MD051/link-fragments to ignore HTML comments embedded in heading text.
|
2022-07-19 06:29:52 +00:00 |
|
David Anson
|
6700accfd3
|
Merge branch 'main' into 'next'.
|
2022-07-16 22:37:45 +00:00 |
|
David Anson
|
ed8a2e6166
|
Add permissions/security-events:write to CodeQL action to allow it to run in read-only Workflow permissions mode.
|
2022-07-16 22:33:37 +00:00 |
|
David Anson
|
1dba010ea9
|
Add "exports" to package.json, use it to limit what's exported, leave "main" for compatability.
|
2022-07-05 14:33:31 -07:00 |
|
David Anson
|
51cec76c2b
|
Update to version 0.26.0.
|
2022-06-21 21:16:44 -07:00 |
|
David Anson
|
91856f0423
|
Update dependency: ava to 4.3.0.
|
2022-06-21 05:03:13 +00:00 |
|
David Anson
|
986870061d
|
Replace all instances of test.cb(...) with test(new Promise(...)) to prepare for upgrade to AVA@4 where it is not available.
|
2022-06-21 04:40:38 +00:00 |
|
David Anson
|
53cbf063e3
|
Update dependencies: c8 to 7.11.3, eslint to 8.18.0, eslint-plugin-jsdoc to 39.3.3, eslint-plugin-unicorn to 42.0.0, globby to 13.1.2, markdown-it-texmath to 1.0.0, markdownlint-rule-helpers to 0.16.0, ts-loader to 9.3.0, typescript to 4.7.4, webpack to 5.73.0, webpack-cli to 4.10.0.
|
2022-06-20 04:41:08 +00:00 |
|
David Anson
|
949b69e812
|
Update github/codeql-action/init and github/codeql-action/analyze to v2.
|
2022-06-19 22:00:08 +00:00 |
|
David Anson
|
6e8a0737b5
|
Reimplement helpers.forEachInlineCodeSpan for ~11% time reduction measured via profile-fixture.mjs on GitHub Codespaces.
|
2022-06-19 02:14:03 +00:00 |
|
David Anson
|
d177ee2fc5
|
Update helpers.forEachInlineCodeSpan to remove backtick detection in link destinations for ~22% time reduction measured via profile-fixture.mjs on GitHub Codespaces.
|
2022-06-19 00:49:36 +00:00 |
|
David Anson
|
e8cdb5619c
|
Update token annotation to call helpers.forEachInlineCodeSpan only when necessary for ~11% time reduction measured via profile-fixture.mjs on GitHub Codespaces.
|
2022-06-17 05:29:12 +00:00 |
|
David Anson
|
1f9497ad09
|
Refactor MD009/no-trailing-spaces to remove dependency on helpers.forEachInlineCodeSpan.
|
2022-06-16 05:19:27 +00:00 |
|
David Anson
|
54acae87ea
|
Update MD009/no-trailing-spaces to remove unnecessary sorting, add additional test cases.
|
2022-06-16 04:48:51 +00:00 |
|
David Anson
|
f284233f9a
|
Add test scenario for rule violations after a multi-line code span.
|
2022-06-13 23:11:53 -07:00 |
|
David Anson
|
28b273e798
|
Add more test cases for trailing spaces.
|
2022-06-13 22:53:48 -07:00 |
|
David Anson
|
ac38a614e9
|
Update MD038/no-space-in-code to check token.content before calling helpers.forEachInlineCodeSpan for ~6% time reduction measured via profile-fixture.mjs on Apple Silicon M1.
|
2022-06-12 19:04:39 -07:00 |
|
David Anson
|
a14df5aa5f
|
Remove unused parameter to helpers.getReferenceLinkImageData.
|
2022-06-12 18:39:28 -07:00 |
|
David Anson
|
fa0782d729
|
Use '\0' instead of ']' to allow end-of-block detection for single-line RegExp in getReferenceLinkImageData.
|
2022-06-12 18:00:37 -07:00 |
|
David Anson
|
6934d24651
|
Address new TypeScript warnings from VS Code.
|
2022-06-12 17:53:57 -07:00 |
|
David Anson
|
36adb5e4d2
|
Create FUNDING.yml to enable a sponsor button for the repository.
|
2022-06-12 15:23:26 -07:00 |
|
David Anson
|
312f4b8c6d
|
Address new TypeScript warnings from VS Code.
|
2022-06-11 22:40:45 -07:00 |
|
David Anson
|
3d6afccae1
|
Remove broken link (Atom has been discontinued).
|
2022-06-11 21:54:40 -07:00 |
|
David Anson
|
936c876810
|
Remove helpers.deepFreeze and call Object.freeze only on things that need it for ~11% time reduction measured via profile-fixture.mjs on Apple Silicon M1.
|
2022-06-09 23:56:44 -07:00 |
|
David Anson
|
b6471fba31
|
Enable ESLint rule unicorn/no-array-for-each, auto-fix all violations, manually address new issues for ~4% time reduction measured via profile-fixture.mjs on Apple Silicon M1.
|
2022-06-08 22:10:27 -07:00 |
|
David Anson
|
15efcb4282
|
Convert helpers.filterTokens from Array.forEach to for..of for ~6% time reduction measured via profile-fixture.mjs on Apple Silicon M1.
|
2022-06-07 22:59:48 -07:00 |
|
David Anson
|
604ff5df39
|
Add simple scaffolding for profiling and timing execution.
|
2022-06-07 22:51:12 -07:00 |
|
David Anson
|
85d720cefc
|
Update helpers.flattenLists to provide correct lastLineIndex for lists with an empty last item (fixes #529).
|
2022-06-07 22:16:34 -07:00 |
|
David Anson
|
4560ccc1cd
|
Change demo web page to use SVG favicon (leave previous ICO around).
|
2022-06-06 22:11:29 -07:00 |
|
David Anson
|
00082ee8a5
|
Add "configParsers" option so custom parsers can be used to handle the content of markdownlint-configure-file inline comments (fixes #528).
|
2022-06-05 22:32:22 -07:00 |
|
David Anson
|
bbec8c5c1e
|
Hide the content of inline configuration HTML comments from the linting process to avoid false positives.
|
2022-06-04 22:59:19 -07:00 |
|
David Anson
|
535aa1a2ee
|
Reorder README.md options.* properties into alphabetical order.
|
2022-06-04 15:06:07 -07:00 |
|
David Anson
|
6718944b0f
|
Replace helpers.overlapsAnyRange with .withinAnyRange, update code/tests for resulting behavior.
|
2022-06-02 22:17:32 -07:00 |
|
David Anson
|
cb943a8718
|
Change markdownlint-browser.js TypeScript configuration to generate code for "es2015" ("es6") from the default of "es3" so that generated code for for..of will behave correctly, revert previous workaround for same.
|
2022-06-02 21:42:48 -07:00 |
|
David Anson
|
36c689388f
|
Refactor cache.js to simplify use.
|
2022-06-02 21:33:31 -07:00 |
|
David Anson
|
c5ca661b96
|
Add MD052/reference-links-images and MD053/link-image-reference-definitions for reporting issues with link and image references (fixes #144, fixes #390, fixes #425, fixes #456).
|
2022-06-01 20:26:01 -07:00 |
|
David Anson
|
2c947abf7b
|
Update dependency: markdown-it to 13.0.1 (fixes #526).
|
2022-05-18 21:55:03 -07:00 |
|
David Anson
|
b6ea481c23
|
Update lint-test-repos scenarios to restore an exclusion that is still needed.
|
2022-05-18 21:55:03 -07:00 |
|
David Anson
|
c7d74cf6c0
|
Update lint-test-repos scenarios for recent changes to test repositories.
|
2022-05-18 21:49:08 -07:00 |
|
David Anson
|
ffc4d56918
|
Support tilde paths ("~" prefix) in readConfig/Sync APIs (for "file" parameter and "extends" keys).
|
2022-05-17 21:38:36 -07:00 |
|
David Anson
|
5505deb1c9
|
Update lint-test-repos scenarios to ignore three newly-introduced external issues, run on Windows.
|
2022-05-17 21:29:49 -07:00 |
|
David Anson
|
3792613d2d
|
Implement markdownlint-disable-line inline comment (behaves like markdownlint-disable-next-line, but for the current line) (fixes #524).
|
2022-05-15 15:59:11 -07:00 |
|
David Anson
|
5f5f44e8e0
|
Update MD031/blanks-around-fences to avoid duplicating list item markers when adding blank lines (fixes #485).
|
2022-05-14 19:18:13 -07:00 |
|
David Anson
|
cf26cc7c92
|
Update helpers.codeBlockAndSpanRanges to use "Array.forEach" instead of "for of Array.entries()" to work around seeming Webpack transpilation issue affecting markdownlint-browser.js (fixes #525).
|
2022-05-13 21:39:22 -07:00 |
|
David Anson
|
877ede7735
|
Remove outdated "detailed-results-" prefix from test scenario files.
|
2022-05-11 06:26:30 +00:00 |
|
David Anson
|
3be22e0620
|
Remove unnecessary promise from markdownlint-test-scenarios.js.
|
2022-05-11 06:07:43 +00:00 |
|