Skip to content

fix(html): register {@html} expression as a template reference in Svelte - #10535

Merged
dyc3 merged 4 commits into
biomejs:mainfrom
Mokto:fix/svelte-at-html-reference
Jun 18, 2026
Merged

fix(html): register {@html} expression as a template reference in Svelte#10535
dyc3 merged 4 commits into
biomejs:mainfrom
Mokto:fix/svelte-at-html-reference

Conversation

@Mokto

@Mokto Mokto commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

{@html expr} is a Svelte template tag that renders raw HTML. The expression inside it references script variables, but parse_embedded_nodes.rs had an empty arm for SvelteHtmlBlock:

AnySvelteBlock::SvelteHtmlBlock(_) => {}

This meant the identifier inside {@html html} was never registered as a template reference, causing noUnusedVariables to falsely flag the variable as unused:

<script lang="ts">
  const { html }: Props = $props();
</script>

{@html html}  <!-- html was flagged as unused ✗ -->

Fix: parse the expression inside SvelteHtmlBlock using build_svelte_text_expression_candidate and push it as an embedded snippet, the same way SvelteIfBlock, SvelteKeyBlock, and SvelteRenderBlock handle their expressions.

This PR was written primarily by Claude Code.

Test Plan

New fixture valid-svelte-at-html.svelte added to noUnusedVariables test specs. All existing tests pass.

Docs

N/A

@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 617b31a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@biomejs/biome Patch
@biomejs/cli-win32-x64 Patch
@biomejs/cli-win32-arm64 Patch
@biomejs/cli-darwin-x64 Patch
@biomejs/cli-darwin-arm64 Patch
@biomejs/cli-linux-x64 Patch
@biomejs/cli-linux-arm64 Patch
@biomejs/cli-linux-x64-musl Patch
@biomejs/cli-linux-arm64-musl Patch
@biomejs/wasm-web Patch
@biomejs/wasm-bundler Patch
@biomejs/wasm-nodejs Patch
@biomejs/backend-jsonrpc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

✅ Organic activity

No automation signals detected in the analyzed events.

View full analysis →

This is an automated analysis by AgentScan

@github-actions github-actions Bot added A-Project Area: project A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Jun 2, 2026
@Mokto Mokto changed the title fix(html): register {@html} expression as a template reference in Svelte [WIP - waiting for 10000] fix(html): register {@html} expression as a template reference in Svelte Jun 2, 2026
@Mokto Mokto changed the title [WIP - waiting for 10000] fix(html): register {@html} expression as a template reference in Svelte [WIP - waiting for 10473] fix(html): register {@html} expression as a template reference in Svelte Jun 2, 2026
…s unused

The `parse_embedded_nodes` function was silently skipping `SvelteHtmlBlock`
nodes (`{@html expr}`), so the JS expression inside them was never added to
the embedded snippet list. As a result, any variable referenced only via
`{@html variable}` was incorrectly reported as unused by `noUnusedVariables`.

Now `SvelteHtmlBlock` is handled the same way as other expression-bearing
blocks (`SvelteIfBlock`, `SvelteKeyBlock`, etc.): the expression is parsed as
a JS snippet and visited so its identifier references are tracked.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Mokto
Mokto force-pushed the fix/svelte-at-html-reference branch from df0ee3c to f49103e Compare June 11, 2026 03:43
@Mokto Mokto changed the title [WIP - waiting for 10473] fix(html): register {@html} expression as a template reference in Svelte fix(html): register {@html} expression as a template reference in Svelte Jun 11, 2026
@Mokto
Mokto marked this pull request as ready for review June 11, 2026 03:44
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The PR fixes a false positive in the noUnusedVariables rule for Svelte by extracting expressions from {@html ...} blocks as embedded JavaScript (TextExpression) and parsing them for analysis. It also prevents Svelte <pre> elements from being treated as generic embedded-language tags so Svelte text/interpolation nodes are produced. A new Svelte fixture and a patch changeset are included.

Possibly related PRs

  • biomejs/biome#9877: Expands Svelte embed and block-kind tracking to resolve noUnusedVariables detection across various Svelte template constructs.

Suggested labels

A-Parser, L-HTML

Suggested reviewers

  • dyc3
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description is directly related to the changeset, explaining the root cause, the fix, and test coverage for the {@html} expression handling issue.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately describes the main fix: registering {@html} expressions as template references to resolve false positives in the noUnusedVariables rule.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

In Svelte files, <pre> was being parsed the same way as <script>/<style>:
its entire content was consumed as a single raw HTML_LITERAL token inside
HtmlEmbeddedContent.  That prevented the expression-tracking passes in
parse_embedded_nodes from seeing any Svelte blocks inside <pre>, so
variables referenced only via <pre>{@html expr}</pre> or <pre>{expr}</pre>
were still incorrectly reported as unused by noUnusedVariables.

The formatter already has an independent HTML_VERBATIM_TAGS list that
includes "pre", which causes it to emit <pre> content verbatim regardless
of how the parser represents the children.  Skipping the embedded-language
path in the parser for Svelte is therefore safe: formatting is unchanged,
and {@html} / interpolation nodes inside <pre> are now visible as proper
AST descendants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added A-Parser Area: parser L-HTML Language: HTML and super languages labels Jun 11, 2026
@codspeed-hq

codspeed-hq Bot commented Jun 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 67 untouched benchmarks
⏩ 189 skipped benchmarks1


Comparing Mokto:fix/svelte-at-html-reference (569e34f) with main (263c7cc)

Open in CodSpeed

Footnotes

  1. 189 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Mokto Mokto changed the title fix(html): register {@html} expression as a template reference in Svelte [WIP] fix(html): register {@html} expression as a template reference in Svelte Jun 11, 2026
@ematipico

Copy link
Copy Markdown
Member

@Mokto CI is failing, do you want to address that?

@Mokto Mokto changed the title [WIP] fix(html): register {@html} expression as a template reference in Svelte fix(html): register {@html} expression as a template reference in Svelte Jun 18, 2026
@dyc3
dyc3 merged commit c245f9d into biomejs:main Jun 18, 2026
31 of 32 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 18, 2026
OIRNOIR pushed a commit to OIRNOIR/YouTube-Helper-Server that referenced this pull request Jun 30, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev) ([source](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | imports | patch | [`2.5.0` -> `2.5.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.5.0/2.5.1) |

---

### Release Notes

<details>
<summary>biomejs/biome (@&#8203;biomejs/biome)</summary>

### [`v2.5.1`](https://github.com/biomejs/biome/blob/HEAD/packages/@&#8203;biomejs/biome/CHANGELOG.md#251)

[Compare Source](https://github.com/biomejs/biome/compare/@biomejs/biome@2.5.0...@biomejs/biome@2.5.1)

##### Patch Changes

- [#&#8203;10722](biomejs/biome#10722) [`f8a303d`](biomejs/biome@f8a303d) Thanks [@&#8203;denbezrukov](https://github.com/denbezrukov)! - Fixed CSS formatter output for comments between import media queries.

  ```diff
  -@&#8203;import url("print.css") print,
  -/* comment */
  -screen;
  +@&#8203;import url("print.css") print, /* comment */ screen;
  ```

- [#&#8203;10738](biomejs/biome#10738) [`9fdc560`](biomejs/biome@9fdc560) Thanks [@&#8203;JamBalaya56562](https://github.com/JamBalaya56562)! - Fixed [#&#8203;9899](biomejs/biome#9899): the `json` and `json-pretty` reporters now escape backslashes in a diagnostic's `location.path`. Previously, paths containing backslashes (such as Windows-style paths) were emitted unescaped, producing invalid JSON.

  ```diff
  -    "path": "src\account\setup-passkey.tsx",
  +    "path": "src\\account\\setup-passkey.tsx",
  ```

- [#&#8203;10626](biomejs/biome#10626) [`5f837df`](biomejs/biome@5f837df) Thanks [@&#8203;tom-groves](https://github.com/tom-groves)! - Fixed [#&#8203;10625](biomejs/biome#10625): `biome migrate` no longer emits an invalid trailing comma when a renamed rule (such as `noConsoleLog` → `noConsole`) is the last member of its rule group. Previously this produced malformed output that aborted the migration of a strict-JSON `biome.json` with a parsing error.

- [#&#8203;10535](biomejs/biome#10535) [`c245f9d`](biomejs/biome@c245f9d) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed a false positive in [`noUnusedVariables`](https://biomejs.dev/linter/rules/no-unused-variables/) for Svelte files where variables referenced inside `{@&#8203;html expr}` blocks were incorrectly reported as unused.

- [#&#8203;10668](biomejs/biome#10668) [`a0f197e`](biomejs/biome@a0f197e) Thanks [@&#8203;Netail](https://github.com/Netail)! - The `biome init` command has been updated to include a more up-to-date URL to [the first-party extensions page](https://biomejs.dev/editors/first-party-extensions/).

- [#&#8203;10667](biomejs/biome#10667) [`d8c3e87`](biomejs/biome@d8c3e87) Thanks [@&#8203;Netail](https://github.com/Netail)! - Fixed [#&#8203;10664](biomejs/biome#10664): [useErrorCause](https://biomejs.dev/linter/rules/use-error-cause/) now correctly detects a shorthand property.

- [#&#8203;10696](biomejs/biome#10696) [`ef2373f`](biomejs/biome@ef2373f) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;9566](biomejs/biome#9566). Improved how the Biome Language Server loads multiple configuration files inside a workspace.

- [#&#8203;10705](biomejs/biome#10705) [`4ccb410`](biomejs/biome@4ccb410) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10652](biomejs/biome#10652). Biome plugins are now properly filtered when using `--only` and `--skip` flags.

- [#&#8203;10669](biomejs/biome#10669) [`aa0a6eb`](biomejs/biome@aa0a6eb) Thanks [@&#8203;Netail](https://github.com/Netail)! - Fixed [#&#8203;10651](biomejs/biome#10651): [useInlineScriptId](https://biomejs.dev/linter/rules/use-inline-script-id/) now correctly trims trivia to detect if an id attribute has been set.

- [#&#8203;10689](biomejs/biome#10689) [`844b1be`](biomejs/biome@844b1be) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10658](biomejs/biome#10658). The issue was caused by the "Go-to definition" editor feature, which was enabled by default. The feature is now **disabled by default**. To work, the feature triggers the scanner to build the module graph. This caused memory leak issues in cases where Biome starts in the home directory to modify files.

  If you relied on this new feature, you must now turn on using the \[editor settings] of the extension e.g. [Zed](https://biomejs.dev/reference/zed/#goto_definition) and [VSCode](https://biomejs.dev/reference/vscode/#biomegotodefinition).

- [#&#8203;10695](biomejs/biome#10695) [`043fbb5`](biomejs/biome@043fbb5) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10674](biomejs/biome#10674). Biome now throws an error when the field `level` is missing from a rule option.

- [#&#8203;10712](biomejs/biome#10712) [`5941df2`](biomejs/biome@5941df2) Thanks [@&#8203;Conaclos](https://github.com/Conaclos)! - Improved the diagnostic and the documentation of [`useFlatMap`](https://biomejs.dev/linter/rules/use-flat-map/).

- [#&#8203;10615](biomejs/biome#10615) [`23814f1`](biomejs/biome@23814f1) Thanks [@&#8203;qwertycxz](https://github.com/qwertycxz)! - Improved the DX the JSON schema when it's used by certain code editors like VSCode.

- [#&#8203;10688](biomejs/biome#10688) [`ec69489`](biomejs/biome@ec69489) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a bug where the Biome Daemon did not correctly shut down when the editor was closed during an in-progress operation, especially while scanning.

- [#&#8203;10701](biomejs/biome#10701) [`6c2e0d7`](biomejs/biome@6c2e0d7) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10694](biomejs/biome#10694). The Biome Language Server no longer prints an error when the user hovers a variable imported from node\_modules.

- [#&#8203;10681](biomejs/biome#10681) [`888515b`](biomejs/biome@888515b) Thanks [@&#8203;Conaclos](https://github.com/Conaclos)! - Fixed [`useExportType`](https://biomejs.dev/linter/rules/use-export-type/) that reported useless details in some diagnostics.

- [#&#8203;10220](biomejs/biome#10220) [`3694a13`](biomejs/biome@3694a13) Thanks [@&#8203;theBGuy](https://github.com/theBGuy)! - Fixed [`useAnchorContent`](https://biomejs.dev/linter/rules/use-anchor-content/) false positive for `<a>` elements used as render prop values (e.g. `render={<a href="..." />}`), a pattern where the receiving component renders its children inside the anchor element.

- [#&#8203;10702](biomejs/biome#10702) [`98823fb`](biomejs/biome@98823fb) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10612](biomejs/biome#10612). The Biome parser now correctly parses processing instructions. The following SVG doesn't throw errors anymore:

  ```svg
  <?xml version="1.0" encoding="UTF-8" ?>

  <svg></svg>
  ```

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.oirnoir.dev/OIRNOIR/YouTube-Helper-Server/pulls/21
OIRNOIR pushed a commit to OIRNOIR/YouTube-Helper-Client that referenced this pull request Jun 30, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev) ([source](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | imports | patch | [`2.5.0` -> `2.5.1`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.5.0/2.5.1) |

---

### Release Notes

<details>
<summary>biomejs/biome (@&#8203;biomejs/biome)</summary>

### [`v2.5.1`](https://github.com/biomejs/biome/blob/HEAD/packages/@&#8203;biomejs/biome/CHANGELOG.md#251)

[Compare Source](https://github.com/biomejs/biome/compare/@biomejs/biome@2.5.0...@biomejs/biome@2.5.1)

##### Patch Changes

- [#&#8203;10722](biomejs/biome#10722) [`f8a303d`](biomejs/biome@f8a303d) Thanks [@&#8203;denbezrukov](https://github.com/denbezrukov)! - Fixed CSS formatter output for comments between import media queries.

  ```diff
  -@&#8203;import url("print.css") print,
  -/* comment */
  -screen;
  +@&#8203;import url("print.css") print, /* comment */ screen;
  ```

- [#&#8203;10738](biomejs/biome#10738) [`9fdc560`](biomejs/biome@9fdc560) Thanks [@&#8203;JamBalaya56562](https://github.com/JamBalaya56562)! - Fixed [#&#8203;9899](biomejs/biome#9899): the `json` and `json-pretty` reporters now escape backslashes in a diagnostic's `location.path`. Previously, paths containing backslashes (such as Windows-style paths) were emitted unescaped, producing invalid JSON.

  ```diff
  -    "path": "src\account\setup-passkey.tsx",
  +    "path": "src\\account\\setup-passkey.tsx",
  ```

- [#&#8203;10626](biomejs/biome#10626) [`5f837df`](biomejs/biome@5f837df) Thanks [@&#8203;tom-groves](https://github.com/tom-groves)! - Fixed [#&#8203;10625](biomejs/biome#10625): `biome migrate` no longer emits an invalid trailing comma when a renamed rule (such as `noConsoleLog` → `noConsole`) is the last member of its rule group. Previously this produced malformed output that aborted the migration of a strict-JSON `biome.json` with a parsing error.

- [#&#8203;10535](biomejs/biome#10535) [`c245f9d`](biomejs/biome@c245f9d) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed a false positive in [`noUnusedVariables`](https://biomejs.dev/linter/rules/no-unused-variables/) for Svelte files where variables referenced inside `{@&#8203;html expr}` blocks were incorrectly reported as unused.

- [#&#8203;10668](biomejs/biome#10668) [`a0f197e`](biomejs/biome@a0f197e) Thanks [@&#8203;Netail](https://github.com/Netail)! - The `biome init` command has been updated to include a more up-to-date URL to [the first-party extensions page](https://biomejs.dev/editors/first-party-extensions/).

- [#&#8203;10667](biomejs/biome#10667) [`d8c3e87`](biomejs/biome@d8c3e87) Thanks [@&#8203;Netail](https://github.com/Netail)! - Fixed [#&#8203;10664](biomejs/biome#10664): [useErrorCause](https://biomejs.dev/linter/rules/use-error-cause/) now correctly detects a shorthand property.

- [#&#8203;10696](biomejs/biome#10696) [`ef2373f`](biomejs/biome@ef2373f) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;9566](biomejs/biome#9566). Improved how the Biome Language Server loads multiple configuration files inside a workspace.

- [#&#8203;10705](biomejs/biome#10705) [`4ccb410`](biomejs/biome@4ccb410) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10652](biomejs/biome#10652). Biome plugins are now properly filtered when using `--only` and `--skip` flags.

- [#&#8203;10669](biomejs/biome#10669) [`aa0a6eb`](biomejs/biome@aa0a6eb) Thanks [@&#8203;Netail](https://github.com/Netail)! - Fixed [#&#8203;10651](biomejs/biome#10651): [useInlineScriptId](https://biomejs.dev/linter/rules/use-inline-script-id/) now correctly trims trivia to detect if an id attribute has been set.

- [#&#8203;10689](biomejs/biome#10689) [`844b1be`](biomejs/biome@844b1be) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10658](biomejs/biome#10658). The issue was caused by the "Go-to definition" editor feature, which was enabled by default. The feature is now **disabled by default**. To work, the feature triggers the scanner to build the module graph. This caused memory leak issues in cases where Biome starts in the home directory to modify files.

  If you relied on this new feature, you must now turn on using the \[editor settings] of the extension e.g. [Zed](https://biomejs.dev/reference/zed/#goto_definition) and [VSCode](https://biomejs.dev/reference/vscode/#biomegotodefinition).

- [#&#8203;10695](biomejs/biome#10695) [`043fbb5`](biomejs/biome@043fbb5) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10674](biomejs/biome#10674). Biome now throws an error when the field `level` is missing from a rule option.

- [#&#8203;10712](biomejs/biome#10712) [`5941df2`](biomejs/biome@5941df2) Thanks [@&#8203;Conaclos](https://github.com/Conaclos)! - Improved the diagnostic and the documentation of [`useFlatMap`](https://biomejs.dev/linter/rules/use-flat-map/).

- [#&#8203;10615](biomejs/biome#10615) [`23814f1`](biomejs/biome@23814f1) Thanks [@&#8203;qwertycxz](https://github.com/qwertycxz)! - Improved the DX the JSON schema when it's used by certain code editors like VSCode.

- [#&#8203;10688](biomejs/biome#10688) [`ec69489`](biomejs/biome@ec69489) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a bug where the Biome Daemon did not correctly shut down when the editor was closed during an in-progress operation, especially while scanning.

- [#&#8203;10701](biomejs/biome#10701) [`6c2e0d7`](biomejs/biome@6c2e0d7) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10694](biomejs/biome#10694). The Biome Language Server no longer prints an error when the user hovers a variable imported from node\_modules.

- [#&#8203;10681](biomejs/biome#10681) [`888515b`](biomejs/biome@888515b) Thanks [@&#8203;Conaclos](https://github.com/Conaclos)! - Fixed [`useExportType`](https://biomejs.dev/linter/rules/use-export-type/) that reported useless details in some diagnostics.

- [#&#8203;10220](biomejs/biome#10220) [`3694a13`](biomejs/biome@3694a13) Thanks [@&#8203;theBGuy](https://github.com/theBGuy)! - Fixed [`useAnchorContent`](https://biomejs.dev/linter/rules/use-anchor-content/) false positive for `<a>` elements used as render prop values (e.g. `render={<a href="..." />}`), a pattern where the receiving component renders its children inside the anchor element.

- [#&#8203;10702](biomejs/biome#10702) [`98823fb`](biomejs/biome@98823fb) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed [#&#8203;10612](biomejs/biome#10612). The Biome parser now correctly parses processing instructions. The following SVG doesn't throw errors anymore:

  ```svg
  <?xml version="1.0" encoding="UTF-8" ?>

  <svg></svg>
  ```

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.oirnoir.dev/OIRNOIR/YouTube-Helper-Client/pulls/8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Linter Area: linter A-Parser Area: parser A-Project Area: project L-HTML Language: HTML and super languages L-JavaScript Language: JavaScript and super languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants