Commit graph

1009 commits

Author SHA1 Message Date
dependabot[bot]
209a58171e
Bump eslint from 8.18.0 to 8.22.0 (#555)
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 20:26:48 -07:00
dependabot[bot]
7fc88f036b
Bump eslint-plugin-jsdoc from 39.3.3 to 39.3.6 (#560)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.3 to 39.3.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.3...v39.3.6)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 20:25:19 -07:00
dependabot[bot]
9afd56d00d
Bump ts-loader from 9.3.0 to 9.3.1 (#557)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.3.0...v9.3.1)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 19:38:31 -07:00
dependabot[bot]
cb06e80421
Bump ava from 4.3.0 to 4.3.1 (#556)
Bumps [ava](https://github.com/avajs/ava) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: ava
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 19:30:32 -07:00
dependabot[bot]
a0839171d6
Bump strip-json-comments from 4.0.0 to 5.0.0 (#554)
Bumps [strip-json-comments](https://github.com/sindresorhus/strip-json-comments) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/strip-json-comments/releases)
- [Commits](https://github.com/sindresorhus/strip-json-comments/compare/v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: strip-json-comments
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 19:23:55 -07:00
dependabot[bot]
c1e028028f
Bump markdownlint-rule-helpers from 0.16.0 to 0.17.2 (#553)
Bumps [markdownlint-rule-helpers](https://github.com/DavidAnson/markdownlint) from 0.16.0 to 0.17.2.
- [Release notes](https://github.com/DavidAnson/markdownlint/releases)
- [Commits](https://github.com/DavidAnson/markdownlint/compare/v0.16.0...v0.17.2)

---
updated-dependencies:
- dependency-name: markdownlint-rule-helpers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 19:22:29 -07:00
David Anson
2b2dc27f24 Address linting violation introduced due to not being able to run locally. 2022-08-14 18:59:53 -07:00
David Anson
4767ebc6f1 Update test for external repositories to exclude a deliberate violation. 2022-08-14 18:52:43 -07:00
David Anson
eccae6d0d5 Create dependabot.yml to enable automatic version updates for GitHub Actions and npm packages. 2022-08-14 18:41:45 -07:00
David Anson
2488a5c0ce Remove some ignores for external repository testing that are no longer needed. 2022-08-08 21:12:30 -07:00
David Anson
ebf249b6cc Update to version 0.26.2. 2022-08-08 21:05:50 -07:00
David Anson
a6489acd6b Update MD053/link-image-reference-definitions to add ignored_definitions parameter (default to ["//"]) (fixes #545). 2022-08-02 20:36:47 -07:00
David Anson
2c3e8c938b Update MD053/link-image-reference-definitions to handle multi-line references inside blockquotes (fixes #544). 2022-08-01 18:48:01 -07:00
David Anson
5544ea54d7 Remove workaround for markdown-it-texmath issue fixed in @1.0.0. 2022-08-01 18:29:18 -07:00
David Anson
1154ab483b Update MD037/no-space-in-emphasis to ignore the content of HTML attributes (fixes #540). 2022-07-30 20:35:27 -07:00
David Anson
48f47b5214 Update MD053/link-image-reference-definitions to recognize links within square brackets (fixes #537). 2022-07-30 16:12:27 -07:00
Zoltán Lehóczky
08cdd9513a Add Lombiq Node.js Extensions to the "Related" section of the README (fixes #541). 2022-07-29 12:27:57 -07:00
Mark Lodato
6c8ef48f94
Update MD051/link-fragments to support id attributes on non-a elements (fixes #538).
The `name` is only an anchor on `a` elements, but `id` is a universal
attribute on all elements.

Also fix match on id/name to be complete, not just a suffix.
2022-07-27 21:42:05 -07:00
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