Skip to content

Bump @biomejs/biome from 1.9.4 to 2.4.16#293

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.16
Closed

Bump @biomejs/biome from 1.9.4 to 2.4.16#293
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.16

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps @biomejs/biome from 1.9.4 to 2.4.16.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.4.16

2.4.16

Patch Changes

  • #10329 ef764d5 Thanks @​Conaclos! - Fixed an issue where diagnostics showed an incorrect location in Astro files.

  • #10363 50aa415 Thanks @​dyc3! - Fixed HTML formatting for a case where comments could cause the formatter to split up a closing tag, which would cause the resulting HTML to be syntactically invalid.

    Input:

    <span
      ><!-- 1
    --><span>a</span
      ><!-- 2
    --><span>b</span
      ><!-- 3
    --></span>

    Output:

      <span
    	  ><!-- 1
    - --> <span>a</span<!-- 2
    - --> ><span>b</span><!-- 3
    + --><span>a</span><!-- 2
    + --><span>b</span><!-- 3
      --></span
      >
  • #10465 0c718da Thanks @​dfedoryshchev! - Fixed diagnostics emitted by the noUntrustedLicenses rule.

  • #10358 05c2617 Thanks @​dyc3! - Fixed #10356: biome rage --linter now displays rules enabled through linter domains in the enabled rules list.

  • #10300 950247c Thanks @​dyc3! - Fixed #10265: Svelte function bindings such as bind:value={get, set} are now parsed more precisely, so noCommaOperator won't emit false positives for that syntax anymore.

  • #9786 e71f584 Thanks @​MeGaNeKoS! - Fixed #8480: useDestructuring now provides variableDeclarator and assignmentExpression options to control which contexts enforce destructuring, matching ESLint's prefer-destructuring configuration. Both default to {array: true, object: true}. The diagnostic for object destructuring in assignment expressions now instructs users to wrap the assignment in parentheses.

  • #10425 1948b72 Thanks @​sjh9714! - Fixed #10244: The useOptionalChain rule now detects negated guard inequality chains like !foo || foo.bar !== "x".

  • #10442 001f94f Thanks @​ematipico! - Fixed #10411: noMisusedPromises no longer causes a stack overflow when a nested function returns an object with shorthand properties that shadow destructured variables from an outer scope.

  • #10318 9b1577f Thanks @​dyc3! - Added support for formatter.trailingCommas in overrides. This option was previously available in the top-level formatter configuration but missing from formatter overrides.

  • #10319 2e37709 Thanks @​dyc3! - Fixed Vue and Svelte formatting for standalone interpolations in inline elements. Biome now preserves existing newlines in cases like:

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.4.16

Patch Changes

  • #10329 ef764d5 Thanks @​Conaclos! - Fixed an issue where diagnostics showed an incorrect location in Astro files.

  • #10363 50aa415 Thanks @​dyc3! - Fixed HTML formatting for a case where comments could cause the formatter to split up a closing tag, which would cause the resulting HTML to be syntactically invalid.

    Input:

    <span
      ><!-- 1
    --><span>a</span
      ><!-- 2
    --><span>b</span
      ><!-- 3
    --></span>

    Output:

      <span
    	  ><!-- 1
    - --> <span>a</span<!-- 2
    - --> ><span>b</span><!-- 3
    + --><span>a</span><!-- 2
    + --><span>b</span><!-- 3
      --></span
      >
  • #10465 0c718da Thanks @​dfedoryshchev! - Fixed diagnostics emitted by the noUntrustedLicenses rule.

  • #10358 05c2617 Thanks @​dyc3! - Fixed #10356: biome rage --linter now displays rules enabled through linter domains in the enabled rules list.

  • #10300 950247c Thanks @​dyc3! - Fixed #10265: Svelte function bindings such as bind:value={get, set} are now parsed more precisely, so noCommaOperator won't emit false positives for that syntax anymore.

  • #9786 e71f584 Thanks @​MeGaNeKoS! - Fixed #8480: useDestructuring now provides variableDeclarator and assignmentExpression options to control which contexts enforce destructuring, matching ESLint's prefer-destructuring configuration. Both default to {array: true, object: true}. The diagnostic for object destructuring in assignment expressions now instructs users to wrap the assignment in parentheses.

  • #10425 1948b72 Thanks @​sjh9714! - Fixed #10244: The useOptionalChain rule now detects negated guard inequality chains like !foo || foo.bar !== "x".

  • #10442 001f94f Thanks @​ematipico! - Fixed #10411: noMisusedPromises no longer causes a stack overflow when a nested function returns an object with shorthand properties that shadow destructured variables from an outer scope.

  • #10318 9b1577f Thanks @​dyc3! - Added support for formatter.trailingCommas in overrides. This option was previously available in the top-level formatter configuration but missing from formatter overrides.

  • #10319 2e37709 Thanks @​dyc3! - Fixed Vue and Svelte formatting for standalone interpolations in inline elements. Biome now preserves existing newlines in cases like:

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​biomejs/biome since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

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 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)

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.4.16.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.16/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.4.16
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated code quality and formatting tooling to the latest version

Walkthrough

This PR updates the @biomejs/biome dev dependency in package.json from version ^1.9.4 to ^2.4.16. This is a minor version upgrade of the linting and code formatting tool used during development. The change affects only the package.json dependency declaration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks the required checklist section from the template, including the release label selection and documentation/test update confirmations. Add the required checklist items: select a release label (major, minor, patch, or skip-release), confirm documentation updates, and confirm test updates.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: bumping the @biomejs/biome dependency from version 1.9.4 to 2.4.16.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/biomejs/biome-2.4.16

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 `@package.json`:
- Line 48: Replace all placeholder biome-ignore suppressions and update config
for Biome 2.x: find occurrences of the comment pattern containing
"<explanation>" (e.g., in tsup.config.ts) and either provide a real suppression
reason or remove/retarget the suppression to the correct rule (do not leave the
placeholder), update any suppression with an empty/missing reason to include a
valid message, and update biome.json keys per the v2 migration guide (e.g.,
change include/ignore to includes and other renamed fields). After making these
edits, run npm run lint and npm run lint:fix to confirm the lint errors are
resolved.
🪄 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: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 260b9271-7954-4d2e-9ba3-b524c1dd2768

📥 Commits

Reviewing files that changed from the base of the PR and between b6fa312 and c7dc580.

📒 Files selected for processing (1)
  • package.json

Comment thread package.json
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@biomejs/biome": "^2.4.16",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚖️ Poor tradeoff

🧩 Analysis chain

🌐 Web query:

Biome 2.0 breaking changes and migration guide

💡 Result:

Biome 2.0 was officially released on June 17, 2025 [1]. It introduced several breaking changes as part of a major architectural update [2][1]. Migration Guide To upgrade to Biome 2.0, you should update the package and use the built-in migration tool to automate most configuration updates [3][1]. 1. Install the Biome package: npm install --save-dev --save-exact @biomejs/biome@2.0.6 (or your preferred package manager) [3][4]. 2. Run the migration command: npx @biomejs/biome migrate --write [1][4]. The migration command will automatically update your configuration file to mitigate many of the breaking changes [3][4]. However, you should carefully review the output, as some manual interventions may be required [3][4]. Key Breaking Changes Some of the most significant breaking changes in Biome 2.0 include: Configuration Changes: - Configuration fields: 'include' and 'ignore' are removed and replaced by 'includes' [2][4]. - Path resolution: Globs and paths are now relative to the configuration file, rather than the working directory [2][4]. - CLI options: The '--config-path' option has been removed from 'biome lsp-proxy' and 'biome start' [3][2]. - Deprecated options: Removed 'indentSize' and the 'all' option from the linter [2][4]. - Glob patterns: Biome no longer automatically prepends '/ ' to globs [3][4]. Linter and Features: - Rule changes: Rules in the 'style' group no longer emit errors by default; they must be configured to do so if desired [3][4]. Some recommended rules have also been adjusted to be less restrictive [2]. - Syntax support: The 'assert' syntax (used for imports) is no longer supported and has been replaced by the 'with' syntax [3][4]. - Import Organizer: This component now sorts imports differently than in previous versions [3][4]. - Rome legacy: Rome-related features are no longer supported [3][4]. For full details on these changes and any necessary manual steps, consult the official Biome v2 upgrade guide [3].

Citations:


🏁 Script executed:

npm run lint
npm run lint:fix

Repository: lokalise/node-core

Length of output: 29232


Fix Biome 2.x ignore-suppression breakage before merge (lint currently fails)
Biome 2.x rejects the existing biome-ignore suppressions: lint reports // biome-ignore ...: <explanation> placeholder errors (“A suppression shouldn't have an placeholder”) and a parse error where the suppression has an empty/missing reason in tsup.config.ts. Replace <explanation> with a real reason (or remove/correct the suppression to target the correct rule), then re-run npm run lint / npm run lint:fix.
Also double-check biome.json against the v2 migration guide (e.g., include/ignoreincludes) to avoid additional config-breaking issues.

🤖 Prompt for 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.

In `@package.json` at line 48, Replace all placeholder biome-ignore suppressions
and update config for Biome 2.x: find occurrences of the comment pattern
containing "<explanation>" (e.g., in tsup.config.ts) and either provide a real
suppression reason or remove/retarget the suppression to the correct rule (do
not leave the placeholder), update any suppression with an empty/missing reason
to include a valid message, and update biome.json keys per the v2 migration
guide (e.g., change include/ignore to includes and other renamed fields). After
making these edits, run npm run lint and npm run lint:fix to confirm the lint
errors are resolved.

@dependabot @github

dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #294.

@dependabot dependabot Bot closed this Jun 15, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/biomejs/biome-2.4.16 branch June 15, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants