Skip to content

Commit

Permalink
Bump markdownlint from 0.33.0 to 0.34.0 (#41)
Browse files Browse the repository at this point in the history
Bumps [markdownlint](https://github.com/DavidAnson/markdownlint) from
0.33.0 to 0.34.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/DavidAnson/markdownlint/blob/main/CHANGELOG.md">markdownlint's
changelog</a>.</em></p>
<blockquote>
<h2>0.34.0</h2>
<ul>
<li>Use <code>micromark</code> in
MD027/MD028/MD036/MD040/MD041/MD046/MD048</li>
<li>Improve MD013/MD034/MD049/MD050/MD051</li>
<li>Update custom rule requirements and documentation</li>
<li>Improve various TypeScript declarations</li>
<li>Update dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/b2305efafb034b1f328845aec9928b5363ffd646"><code>b2305ef</code></a>
Update to version 0.34.0.</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/6920d8c72852d45e5640234f2b7f6d965b5d849a"><code>6920d8c</code></a>
Bump typescript from 5.4.2 to 5.4.3</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/8fe819fa69b684d21b555d80239f786d43a4ea16"><code>8fe819f</code></a>
Bump webpack from 5.90.3 to 5.91.0 in /micromark</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/53f4bbf19a3cd04132fa25b2f54866f2498acac6"><code>53f4bbf</code></a>
Bump webpack from 5.90.3 to 5.91.0</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/4c7cc9c326a1ba4e129aa6022ee4411af250dfca"><code>4c7cc9c</code></a>
Add 2 missing trailing semicolons.</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/ab0ea70b7f49e9bef3cecfafd8cc1376aa8dd39c"><code>ab0ea70</code></a>
Update test repo snapshots.</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/c83afe1cfd4643437448d9bad4c295a11d086267"><code>c83afe1</code></a>
Update documentation for MD013/line-length to call out a missing
scenario and...</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/82441faa91695461fdd99265d3b1d479de1a20ff"><code>82441fa</code></a>
Reimplement MD036/no-emphasis-as-heading using micromark tokens.</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/6f6348a63d763394e208792aa20bb6301cb2cad1"><code>6f6348a</code></a>
Bump <code>@​microsoft/api-extractor</code> from 7.42.3 to 7.43.0 in
/micromark</li>
<li><a
href="https://github.com/DavidAnson/markdownlint/commit/a83e2d8a099eaf4e4e1f042d3ae0e7945d2eda0e"><code>a83e2d8</code></a>
Reimplement MD041/first-line-heading/first-line-h1 using micromark
tokens.</li>
<li>Additional commits viewable in <a
href="https://github.com/DavidAnson/markdownlint/compare/v0.33.0...v0.34.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markdownlint&package-manager=npm_and_yarn&previous-version=0.33.0&new-version=0.34.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ian Sanders <[email protected]>
  • Loading branch information
dependabot[bot] and iansan5653 authored May 13, 2024
1 parent a166f6e commit d432133
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 34 deletions.
64 changes: 32 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@github/markdownlint-github": "^0.6.3",
"@webcomponents/custom-elements": "^1.6.0",
"dom-input-range": "^1.1.5",
"markdownlint": "^0.33.0"
"markdownlint": "^0.34.0"
},
"devDependencies": {
"@babel/core": "^7.21.8",
Expand Down
3 changes: 2 additions & 1 deletion src/rules/start-heading-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ export default {
names: ["start-heading-level"],
description: "Initial heading level",
tags: ["accessibility", "images"],
parser: "markdownit",
function(params, onError) {
const minLevel = getLevelConfig(params);
for (const token of params.tokens)
for (const token of params.parsers.markdownit.tokens)
if (token.type === "heading_open") {
const level = parseHTagLevel(token.tag);

Expand Down

0 comments on commit d432133

Please sign in to comment.