Skip to content

fix(html_formatter): match prettier for svelte each as destructuring … - #10858

Merged
ematipico merged 5 commits into
biomejs:mainfrom
ruidosujeira:fix/svelte-html-formatter-10839
Jul 22, 2026
Merged

fix(html_formatter): match prettier for svelte each as destructuring …#10858
ematipico merged 5 commits into
biomejs:mainfrom
ruidosujeira:fix/svelte-html-formatter-10839

Conversation

@ruidosujeira

@ruidosujeira ruidosujeira commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixes two formatting inconsistencies between Biome's Svelte/HTML formatter and Prettier, as reported in #10839.

Closed #10839

Changes

Array destructuring in {#each} blocks
Removed unnecessary spaces inside square brackets when using array destructuring.svelte.

<!-- Before -->
{#each list as [ item, title ]}

<!-- After -->
{#each list as [item, title]}
Bind with getter/setter functions
Improved formatting of bind:prop={get, set} expressions to allow proper line breaking when the value is complex.svelte<!-- Now formats correctly -->
bind:clientWidth={
    null,
    (width) => { ... }
}

These changes make Biome's output match Prettier's behavior for the reported cases.
Changeset: fix-svelte-html-each-as-and-bind.md (patch)

Test Plan

All existing Svelte snapshot tests are passing:

cargo test -p biome_html_formatter --test spec_tests -- svelte

Ran just f to verify formatting consistency.

cargo clippy -p biome_html_formatter -- -D warnings (clean).

Updated snapshots:

each_with_destructuring.svelte.snap
each_with_rename_binding.svelte.snap

Docs

No documentation changes needed (formatter behavior only).

…and bind get/set

Fixes biomejs#10839

- SvelteSquareDestructuredName no longer adds spaces inside [] (matches Prettier expandNode)
- SvelteBindFunctionBindingExpression now supports breaking with soft_block_indent
- Updated snapshots for the new output
- Added changeset
@changeset-bot

changeset-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fbb4e28

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 Jul 6, 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-Formatter Area: formatter L-HTML Language: HTML and super languages labels Jul 6, 2026
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Updates Svelte HTML formatting for array destructuring in {#each} blocks by removing spaces inside square brackets. Adjusts multiline bind function expression formatting to conditionally break and indent getter, setter, and function body content. Adds a Svelte fixture covering both cases and records a patch changeset referencing issue #10839.

Possibly related PRs

  • biomejs/biome#9692: Covers related Svelte nested #each array destructuring support and formatting.

Suggested reviewers: dyc3

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
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 is specific and related to the formatter changes, though it only highlights one of the two fixes.
Description check ✅ Passed The description matches the Svelte formatter fixes and changeset described in the diff.
✨ 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.

@codspeed-hq

codspeed-hq Bot commented Jul 6, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 67 untouched benchmarks
⏩ 206 skipped benchmarks1


Comparing ruidosujeira:fix/svelte-html-formatter-10839 (fbb4e28) with main (c9acb25)

Open in CodSpeed

Footnotes

  1. 206 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.

@ematipico ematipico left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add tests that show that the softline break works as expected?

@dyc3 dyc3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code is good, fine to merge as is, but this doesn't fully resolve #10839. There's more formatting mismatches in that issue's repro.

@ematipico

Copy link
Copy Markdown
Member

Actually, the fix isn't right now that I look at it. Prettier doesn't emit a softline. It just prints without space between brackets

@ruidosujeira

Copy link
Copy Markdown
Contributor Author

@dyc3 @ematipico

Thank you both for the fast reviews and detailed feedback! 🙏
I understand now, there are still more formatting mismatches in the original repro of #10839 that this PR didn't cover yet.
The current approach with soft_block_indent/softline is not matching Prettier's simpler behavior (it just prints without space between brackets, no softline).
I'll update the PR shortly with:
A more minimal fix for the destructuring (just remove the spaces inside [], exactly as Prettier does).
Coverage for the remaining mismatches from the issue's repro.
The requested tests for the bind behavior

Clean soft_block_indent for bind:prop={get, set} to match Prettier
layout (short stays inline; long breaks). Add issue biomejs#10839 regression
tests and update the changeset wording.
@ruidosujeira

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback, and apologies for leaving this without a proper follow-up.

After reviewing the full reproduction and comparing the output with Prettier again, I agree that my description overstated what this PR currently fixes. The problem hasn't been resolved yet, and I'm working on it.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@crates/biome_html_formatter/src/svelte/auxiliary/bind_function_binding_expression.rs`:
- Around line 30-37: Move set.format() into the existing indent block in the
binding expression formatter, alongside get.format(), comma_token.format(), and
the line-break elements. Preserve the current ordering so set remains formatted
after the separator while inheriting the nested indentation when the group
breaks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a350538b-1a60-432d-8346-2be1ed6c4075

📥 Commits

Reviewing files that changed from the base of the PR and between 9ea537c and 218ab10.

⛔ Files ignored due to path filters (1)
  • crates/biome_html_formatter/tests/specs/html/svelte/issue_10839.svelte.snap is excluded by !**/*.snap and included by **
📒 Files selected for processing (3)
  • .changeset/fix-svelte-html-each-as-and-bind.md
  • crates/biome_html_formatter/src/svelte/auxiliary/bind_function_binding_expression.rs
  • crates/biome_html_formatter/tests/specs/html/svelte/issue_10839.svelte
🚧 Files skipped from review as they are similar to previous changes (1)
  • .changeset/fix-svelte-html-each-as-and-bind.md

@ruidosujeira

Copy link
Copy Markdown
Contributor Author

I’ve updated the PR with a smaller and cleaner implementation:

  • removed the extra spaces inside Svelte {#each} array destructuring without introducing softline;
  • adjusted bind:prop={get, set} so short expressions remain inline and long expressions break with the getter, setter, and function body correctly indented;
  • added coverage for the remaining mismatches from the original 📝 svelte html formatter formats differently each as and bind functions from prettier #10839 reproduction, including nested destructuring and multiline bind functions;
  • removed the redundant test fixture and kept the changes narrowly scoped.

The previous indentation issue reported by CodeRabbit was also fixed, and the snapshot now reflects the expected output.

Could you please take another look when possible?

@ematipico
ematipico merged commit 6d18204 into biomejs:main Jul 22, 2026
31 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 22, 2026
OIRNOIR pushed a commit to OIRNOIR/YouTube-Helper-Server that referenced this pull request Aug 4, 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.5` -> `2.5.6`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.5.5/2.5.6) |

---

### Release Notes

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

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

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

##### Patch Changes

- [#&#8203;11035](biomejs/biome#11035) [`0e4b03b`](biomejs/biome@0e4b03b) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a performance regression in [`noMisusedPromises`](https://biomejs.dev/linter/rules/no-misused-promises/) that caused type inference to run repeatedly while linting a file.

- [#&#8203;11043](biomejs/biome#11043) [`22ec076`](biomejs/biome@22ec076) Thanks [@&#8203;denbezrukov](https://github.com/denbezrukov)! - Fixed CSS formatting for multiline function arguments preceded by comments:

  ```diff
   .example {
     value: outer(
       1,
       /* comment */
       nested(
  -      first,
  -      second
  -    )
  +        first,
  +        second
  +      )
     );
   }
  ```

- [#&#8203;11007](biomejs/biome#11007) [`c9acb25`](biomejs/biome@c9acb25) Thanks [@&#8203;BTF-Kabir-2020](https://github.com/BTF-Kabir-2020)! - Fixed [#&#8203;9195](biomejs/biome#9195): [`useHookAtTopLevel`](https://biomejs.dev/linter/rules/use-hook-at-top-level/) no longer reports hooks in named `forwardRef` components that receive a `ref` parameter.

- [#&#8203;10152](biomejs/biome#10152) [`50a9bd8`](biomejs/biome@50a9bd8) Thanks [@&#8203;Zelys-DFKH](https://github.com/Zelys-DFKH)! - Fixed [#&#8203;10131](biomejs/biome#10131): Biome now correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern, e.g. `cond ? (x) => ({ a, b }) => body : alt`.

- [#&#8203;11105](biomejs/biome#11105) [`8ffe2b9`](biomejs/biome@8ffe2b9) Thanks [@&#8203;dadavidtseng](https://github.com/dadavidtseng)! - Fixed [#&#8203;11092](biomejs/biome#11092): The [`noUselessTernary`](https://biomejs.dev/linter/rules/no-useless-ternary/) quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.

- [#&#8203;10533](biomejs/biome#10533) [`5809875`](biomejs/biome@5809875) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed [#&#8203;10515](biomejs/biome#10515): `biome check --write` was not idempotent on Svelte files — multi-line template literals in `<script>` blocks and block comments in `<style>` blocks gained an extra indent level on every run.

- [#&#8203;11040](biomejs/biome#11040) [`0abb620`](biomejs/biome@0abb620) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed an issue where the HTML formatter would duplicate a comment placed directly before a Svelte `{@&#8203;const ...}` or `{@&#8203;debug ...}` block. The duplication compounded on every subsequent `--write`, causing the file to grow exponentially.

- [#&#8203;10858](biomejs/biome#10858) [`6d18204`](biomejs/biome@6d18204) Thanks [@&#8203;ruidosujeira](https://github.com/ruidosujeira)! - Fixed [#&#8203;10839](biomejs/biome#10839): Svelte `{#each}` array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions now indent their getter, setter, and function body correctly.

- [#&#8203;11009](biomejs/biome#11009) [`2c36626`](biomejs/biome@2c36626) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Improved the accuracy of type-aware lint rules by resolving more inferred types. For example, [`noFloatingPromises`](https://biomejs.dev/linter/rules/no-floating-promises/) now detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.

  The following statements are now reported:

  ```ts
  type AsyncCallback = () => Promise<void>;
  declare const callback: AsyncCallback;
  callback();

  [1, 2, 3].map(async (value) => value);
  ```

- [#&#8203;10973](biomejs/biome#10973) [`9cb044c`](biomejs/biome@9cb044c) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed false positives in [`noMisleadingReturnType`](https://biomejs.dev/linter/rules/no-misleading-return-type/) when generic-constraint, normalization, substitution, or structural return-type comparison cannot complete. The rule now suppresses diagnostics rather than suggesting a return type derived from partial information. For example, this unresolved return type is no longer reported:

  ```ts
  function unresolvedReturnType(): MissingType {
    return "value" as const;
  }
  ```

- [#&#8203;11071](biomejs/biome#11071) [`15047a2`](biomejs/biome@15047a2) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - The HTML parser now accepts mixed-case `doctype` declarations.

- [#&#8203;11030](biomejs/biome#11030) [`cc90e65`](biomejs/biome@cc90e65) Thanks [@&#8203;marschattha](https://github.com/marschattha)! - The `rdjson` reporter now populates the [severity](https://github.com/reviewdog/reviewdog/blob/master/proto/rdf/reviewdog.proto) field of each diagnostic (`ERROR`, `WARNING`, or `INFO`), so tools consuming Reviewdog Diagnostic Format output no longer need to assume a default severity.

- [#&#8203;11009](biomejs/biome#11009) [`2c36626`](biomejs/biome@2c36626) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a performance regression in type-aware JavaScript lint rules by inferring only requested types and memoizing export resolution.

- [#&#8203;11056](biomejs/biome#11056) [`903b177`](biomejs/biome@903b177) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - Added support for Svelte declaration tags using `let` and `const`. Biome can now parse, format, and lint bindings declared in these tags.

- [#&#8203;11045](biomejs/biome#11045) [`89c27c6`](biomejs/biome@89c27c6) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Improved the performance of Biome formatter up to \~7% across the board.

- [#&#8203;9806](biomejs/biome#9806) [`781d68d`](biomejs/biome@781d68d) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - Added the nursery rule [`noJsRestrictedProperties`](https://biomejs.dev/linter/rules/no-js-restricted-properties/), which ports ESLint's `no-restricted-properties` rule. Biome now flags restricted member access and object destructuring, and `biome migrate eslint` preserves the rule's options.

</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:eyJjcmVhdGVkSW5WZXIiOiI0My4yODQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

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

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

---

### Release Notes

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

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

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

##### Patch Changes

- [#&#8203;11035](biomejs/biome#11035) [`0e4b03b`](biomejs/biome@0e4b03b) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a performance regression in [`noMisusedPromises`](https://biomejs.dev/linter/rules/no-misused-promises/) that caused type inference to run repeatedly while linting a file.

- [#&#8203;11043](biomejs/biome#11043) [`22ec076`](biomejs/biome@22ec076) Thanks [@&#8203;denbezrukov](https://github.com/denbezrukov)! - Fixed CSS formatting for multiline function arguments preceded by comments:

  ```diff
   .example {
     value: outer(
       1,
       /* comment */
       nested(
  -      first,
  -      second
  -    )
  +        first,
  +        second
  +      )
     );
   }
  ```

- [#&#8203;11007](biomejs/biome#11007) [`c9acb25`](biomejs/biome@c9acb25) Thanks [@&#8203;BTF-Kabir-2020](https://github.com/BTF-Kabir-2020)! - Fixed [#&#8203;9195](biomejs/biome#9195): [`useHookAtTopLevel`](https://biomejs.dev/linter/rules/use-hook-at-top-level/) no longer reports hooks in named `forwardRef` components that receive a `ref` parameter.

- [#&#8203;10152](biomejs/biome#10152) [`50a9bd8`](biomejs/biome@50a9bd8) Thanks [@&#8203;Zelys-DFKH](https://github.com/Zelys-DFKH)! - Fixed [#&#8203;10131](biomejs/biome#10131): Biome now correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern, e.g. `cond ? (x) => ({ a, b }) => body : alt`.

- [#&#8203;11105](biomejs/biome#11105) [`8ffe2b9`](biomejs/biome@8ffe2b9) Thanks [@&#8203;dadavidtseng](https://github.com/dadavidtseng)! - Fixed [#&#8203;11092](biomejs/biome#11092): The [`noUselessTernary`](https://biomejs.dev/linter/rules/no-useless-ternary/) quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.

- [#&#8203;10533](biomejs/biome#10533) [`5809875`](biomejs/biome@5809875) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed [#&#8203;10515](biomejs/biome#10515): `biome check --write` was not idempotent on Svelte files — multi-line template literals in `<script>` blocks and block comments in `<style>` blocks gained an extra indent level on every run.

- [#&#8203;11040](biomejs/biome#11040) [`0abb620`](biomejs/biome@0abb620) Thanks [@&#8203;Mokto](https://github.com/Mokto)! - Fixed an issue where the HTML formatter would duplicate a comment placed directly before a Svelte `{@&#8203;const ...}` or `{@&#8203;debug ...}` block. The duplication compounded on every subsequent `--write`, causing the file to grow exponentially.

- [#&#8203;10858](biomejs/biome#10858) [`6d18204`](biomejs/biome@6d18204) Thanks [@&#8203;ruidosujeira](https://github.com/ruidosujeira)! - Fixed [#&#8203;10839](biomejs/biome#10839): Svelte `{#each}` array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions now indent their getter, setter, and function body correctly.

- [#&#8203;11009](biomejs/biome#11009) [`2c36626`](biomejs/biome@2c36626) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Improved the accuracy of type-aware lint rules by resolving more inferred types. For example, [`noFloatingPromises`](https://biomejs.dev/linter/rules/no-floating-promises/) now detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.

  The following statements are now reported:

  ```ts
  type AsyncCallback = () => Promise<void>;
  declare const callback: AsyncCallback;
  callback();

  [1, 2, 3].map(async (value) => value);
  ```

- [#&#8203;10973](biomejs/biome#10973) [`9cb044c`](biomejs/biome@9cb044c) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed false positives in [`noMisleadingReturnType`](https://biomejs.dev/linter/rules/no-misleading-return-type/) when generic-constraint, normalization, substitution, or structural return-type comparison cannot complete. The rule now suppresses diagnostics rather than suggesting a return type derived from partial information. For example, this unresolved return type is no longer reported:

  ```ts
  function unresolvedReturnType(): MissingType {
    return "value" as const;
  }
  ```

- [#&#8203;11071](biomejs/biome#11071) [`15047a2`](biomejs/biome@15047a2) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - The HTML parser now accepts mixed-case `doctype` declarations.

- [#&#8203;11030](biomejs/biome#11030) [`cc90e65`](biomejs/biome@cc90e65) Thanks [@&#8203;marschattha](https://github.com/marschattha)! - The `rdjson` reporter now populates the [severity](https://github.com/reviewdog/reviewdog/blob/master/proto/rdf/reviewdog.proto) field of each diagnostic (`ERROR`, `WARNING`, or `INFO`), so tools consuming Reviewdog Diagnostic Format output no longer need to assume a default severity.

- [#&#8203;11009](biomejs/biome#11009) [`2c36626`](biomejs/biome@2c36626) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Fixed a performance regression in type-aware JavaScript lint rules by inferring only requested types and memoizing export resolution.

- [#&#8203;11056](biomejs/biome#11056) [`903b177`](biomejs/biome@903b177) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - Added support for Svelte declaration tags using `let` and `const`. Biome can now parse, format, and lint bindings declared in these tags.

- [#&#8203;11045](biomejs/biome#11045) [`89c27c6`](biomejs/biome@89c27c6) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Improved the performance of Biome formatter up to \~7% across the board.

- [#&#8203;9806](biomejs/biome#9806) [`781d68d`](biomejs/biome@781d68d) Thanks [@&#8203;dyc3](https://github.com/dyc3)! - Added the nursery rule [`noJsRestrictedProperties`](https://biomejs.dev/linter/rules/no-js-restricted-properties/), which ports ESLint's `no-restricted-properties` rule. Biome now flags restricted member access and object destructuring, and `biome migrate eslint` preserves the rule's options.

</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:eyJjcmVhdGVkSW5WZXIiOiI0My4yODQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

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

Labels

A-Formatter Area: formatter L-HTML Language: HTML and super languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📝 svelte html formatter formats differently each as and bind functions from prettier

3 participants