Commit graph

1551 commits

Author SHA1 Message Date
David Anson
c287e49eac Add typings for Rule object to all Rule samples and examples. 2024-03-06 21:27:30 -08:00
dependabot[bot]
cdc30b1279 Bump typescript from 5.3.3 to 5.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 20:57:45 -08:00
David Anson
a5371e29c5 Update dependency: markdownlint-micromark to 0.1.9. 2024-03-05 21:44:36 -08:00
David Anson
3f31d6f7a2 Semi-manually create TypeScript declarations for all exported types from markdownlint-micromark (directions in types.d.ts). 2024-03-05 21:31:32 -08:00
David Anson
2b73095ebd Handle parser inconsistency for "u@.com" to avoid repeatedly wrapping with "<>" when fixing the bare URL (email) (fixes #1140). 2024-03-03 19:06:14 -08:00
David Anson
902783df21 Remove support for end-of-life Node 16 from helpers and micromark packages. 2024-02-29 23:10:09 -08:00
David Anson
28e1b23955 Improve type safety by strongly-typing the micromark token type property everywhere. 2024-02-29 23:05:27 -08:00
David Anson
828ae3541a Use @type to provide typing for all instances of params.parsers.micromark.tokens. 2024-02-28 21:01:47 -08:00
dependabot[bot]
aee8c2d1d3 Bump ava from 6.1.1 to 6.1.2
Bumps [ava](https://github.com/avajs/ava) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v6.1.1...v6.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 18:23:01 -08:00
David Anson
12c4f79604 Add parsers object to RuleParams type, annotate every rule definition with Rule type for better type validation. 2024-02-27 20:42:09 -08:00
David Anson
996d88a9b4 Refactor to remove micromark helper getSiblingTokens for simpler code and better performance. 2024-02-26 21:07:24 -08:00
David Anson
4436d84b55 Update MD027/no-multiple-space-blockquote range to cover just the extra spaces (vs. including nearby syntax). 2024-02-26 20:37:40 -08:00
dependabot[bot]
56ff097266 Bump eslint from 8.56.0 to 8.57.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.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.56.0...v8.57.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 18:38:33 -08:00
David Anson
730ae9a96f Reimplement MD027/no-multiple-space-blockquote using micromark tokens. 2024-02-25 15:06:28 -08:00
dependabot[bot]
a2997f1595 Bump eslint-plugin-jsdoc from 48.1.0 to 48.2.0
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.1.0 to 48.2.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.1.0...v48.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 22:21:07 -08:00
David Anson
f0d691b1ed Reimplement MD048/code-fence-style using micromark tokens. 2024-02-19 20:42:12 -08:00
David Anson
807fee01b1 Reimplement MD046/code-block-style using micromark tokens. 2024-02-19 20:31:47 -08:00
dependabot[bot]
4a7af239ce Bump webpack from 5.90.2 to 5.90.3 in /micromark
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.2 to 5.90.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.2...v5.90.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 19:16:41 -08:00
dependabot[bot]
45e567bcab Bump webpack from 5.90.2 to 5.90.3
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.2 to 5.90.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.2...v5.90.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 19:16:31 -08:00
David Anson
64b9032b51 Update MD049/emphasis-style and MD050/strong-style to properly detect violations at the beginning and end of a line (fixes #1132). 2024-02-19 15:41:10 -08:00
David Anson
f26df4743c Reimplement MD040/fenced-code-language using micromark tokens. 2024-02-18 17:22:32 -08:00
David Anson
f5b5773b50 Reimplement MD028/no-blanks-blockquote using micromark tokens. 2024-02-18 16:46:13 -08:00
David Anson
89eef68dbd Remove @babel/core, @babel/preset-env, babel-loader packages as (dev) dependencies. 2024-02-17 15:46:13 -08:00
David Anson
ac47b5772f Remove yaml package as a (dev) dependency. 2024-02-17 15:33:27 -08:00
dependabot[bot]
58ad0a3543 Bump webpack from 5.90.1 to 5.90.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.1 to 5.90.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.1...v5.90.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 17:43:53 -08:00
dependabot[bot]
0a9aca4b2b Bump webpack from 5.90.1 to 5.90.2 in /micromark
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.1 to 5.90.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.1...v5.90.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 17:43:42 -08:00
David Anson
4fe3415822 Add StackExchange URL to skip-list for link checking as it fails regularly from GitHub Actions now via HTTP 403. 2024-02-16 17:34:10 -08:00
dependabot[bot]
8f23e85b17 Bump eslint-plugin-jsdoc from 48.0.6 to 48.1.0
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.0.6 to 48.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.6...v48.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 18:40:53 -08:00
dependabot[bot]
8a56503b2b Bump globby from 14.0.0 to 14.0.1
Bumps [globby](https://github.com/sindresorhus/globby) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v14.0.0...v14.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 21:44:05 -08:00
David Anson
22db0b952c Remove newly-broken link (destination organization removed all public repositories). 2024-02-12 21:36:37 -08:00
David Anson
45c8766eda Refine previous commit for MD051/link-fragments to tweak behavior, tests, and documentation. 2024-02-10 15:41:55 -08:00
Théo LUDWIG
242b35f98f Update MD051/link-fragments to support GitHub-style line/column range syntax in URLs (refs #1117). 2024-02-10 15:41:55 -08:00
dependabot[bot]
ece0ccf269 Bump eslint-plugin-jsdoc from 48.0.5 to 48.0.6
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.0.5 to 48.0.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.5...v48.0.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>
2024-02-07 08:36:42 -08:00
dependabot[bot]
ac9cc5bf9c Bump eslint-plugin-unicorn from 50.0.1 to 51.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 50.0.1 to 51.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 08:36:26 -08:00
dependabot[bot]
8dd3eff128 Bump eslint-plugin-jsdoc from 48.0.4 to 48.0.5
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.0.4 to 48.0.5.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.4...v48.0.5)

---
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>
2024-02-05 18:42:40 -08:00
dependabot[bot]
0a81e2a1a1 Bump webpack from 5.90.0 to 5.90.1 in /micromark
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.0 to 5.90.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.0...v5.90.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 20:07:11 -08:00
dependabot[bot]
400c69f89d Bump webpack from 5.90.0 to 5.90.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.0 to 5.90.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.0...v5.90.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 18:56:27 -08:00
David Anson
41cda6641c Update test repo snapshots. 2024-01-31 20:44:42 -08:00
dependabot[bot]
1b9b48dcbc Bump ava from 6.1.0 to 6.1.1
Bumps [ava](https://github.com/avajs/ava) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v6.1.0...v6.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 21:38:14 -08:00
David Anson
52a4d37e63 Update test repo snapshots. 2024-01-29 20:55:15 -08:00
dependabot[bot]
31d0247981 Bump @babel/preset-env from 7.23.8 to 7.23.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.8 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 19:31:29 -08:00
dependabot[bot]
9999762b08 Bump @babel/core from 7.23.7 to 7.23.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.7 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 19:15:21 -08:00
dependabot[bot]
fb8963b2c6 Bump eslint-plugin-jsdoc from 48.0.3 to 48.0.4
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.0.3 to 48.0.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.3...v48.0.4)

---
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>
2024-01-25 19:15:09 -08:00
dependabot[bot]
27f24b0ca5 Bump webpack from 5.89.0 to 5.90.0 in /micromark
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.90.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.90.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 22:53:41 -08:00
dependabot[bot]
7840b3f80d Bump eslint-plugin-jsdoc from 48.0.2 to 48.0.3
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.0.2 to 48.0.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.2...v48.0.3)

---
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>
2024-01-24 22:47:03 -08:00
dependabot[bot]
7e58e945bb Bump webpack from 5.89.0 to 5.90.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.90.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.90.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 22:46:22 -08:00
David Anson
e950b0a7eb Update test repo snapshots. 2024-01-24 22:29:49 -08:00
dependabot[bot]
0b5bf96436 Bump jsonc-parser from 3.2.0 to 3.2.1
Bumps [jsonc-parser](https://github.com/microsoft/node-jsonc-parser) from 3.2.0 to 3.2.1.
- [Changelog](https://github.com/microsoft/node-jsonc-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/node-jsonc-parser/compare/v3.2.0...v3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 19:02:51 -08:00
dependabot[bot]
26a755a149 Bump ava from 6.0.1 to 6.1.0
Bumps [ava](https://github.com/avajs/ava) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v6.0.1...v6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 20:20:19 -08:00
David Anson
1769f70845 Replace strip-json-comments dev dependency with jsonc-parser to handle trailing comments in JSONC test input (for mdn/content), update test repo snapshots. 2024-01-21 20:14:18 -08:00