Skip to content

build(deps-dev): bump @biomejs/biome from 2.5.15 to 2.6.6 - #3504

Merged
eikeland merged 6 commits into
mainfrom
dependabot/bun/biomejs/biome-2.6.6
Nov 13, 2026
Merged

eikeland merged 6 commits into
mainfrom
dependabot/bun/biomejs/biome-2.6.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @biomejs/biome from 2.5.15 to 2.6.6.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.6.6

2.6.6

Patch Changes

  • #12887 da0422e Thanks @​dyc3! - Added the new nursery rule noArrayMethodsOnArguments. It reports calls to array methods on the arguments object, which isn't an array, so these calls throw a TypeError when the code runs.

    function sum() {
      return arguments.reduce((total, value) => total + value, 0);
    }
  • #12877 cd9e10f Thanks @​dyc3! - Added the nursery rule noConstantComparisons, which reports && and || conditions that can never be true, are always true, or contain a check with no effect.

    if (statusCode <= 400 && statusCode > 500) {}
  • #12876 a7c9586 Thanks @​dyc3! - Added the nursery rule noErasingOperation, which disallows operations with 0 that always result in zero: multiplying by 0, a bitwise AND with 0, and dividing 0 by a number. The other value in these operations has no effect on the result, which usually means the code has a mistake.

    const total = price * 0;
  • #12841 e954f55 Thanks @​dyc3! - Added the nursery rule noNegatedArrayPredicate, which reports negated calls to Array#some() and Array#every() and suggests moving the negation into the callback function.

    // Invalid: use `array.every((item) => !isUnicorn(item))` instead.
    const isMissing = !array.some((item) => isUnicorn(item));
  • #12888 15039f7 Thanks @​dyc3! - Added the new nursery rule noNumberArgumentOutOfRange, which reports number literal arguments of toString(), toFixed(), toExponential() and toPrecision() that are outside the range the method accepts. These calls throw a RangeError at runtime.

    value.toString(64);
  • #12889 1cd7520 Thanks @​dyc3! - Added the nursery rule noSharedBranchCode, which reports code that is repeated at the start or end of every branch of an if statement. That code runs no matter which branch is taken, so it can be moved before or after the if statement.

    if (condition) {
      doSomething();
      cleanup();
    } else {
      doSomethingElse();
      cleanup();
    }

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 9, 2026
@changeset-bot

changeset-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a43ea46

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@dependabot
dependabot Bot force-pushed the dependabot/bun/biomejs/biome-2.6.6 branch 2 times, most recently from ea9a4c7 to 8614135 Compare November 10, 2026 11:35
@odinr odinr mentioned this pull request Nov 12, 2026
1 of 2 tasks
@odinr

odinr commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

🤖 Drafted by Greenkeeper (GitHub Copilot) · gpt-6.1-sol

TL;DR: HOLD @biomejs/biome 2.5.15 → 2.6.6 in its current form: Biome CI fails with 73 errors although the build passes. One bounded migration revision is requested before the final decision.

Maintainer requests: None in the supplied discussion. The changesets bot's conditional notice is satisfied by treating this development-tool-only update as requiring no published-package version bump; no changeset was added.

Recommendation Confidence Readiness
hold (pending revision) high needs changes

Lens calls: security concern (bounded advisory evidence) · code quality blocking · impact blocking.

Why

The updated formatter/linter introduces checks affecting repository files, including YAML and Markdown. The previous version passed the same Biome checks, so these are demonstrated update-related failures rather than merely pending CI. The worker reports unchanged MIT OR Apache-2.0 terms; no licence acceptance decision is needed on that evidence.

Validation: target-version Biome CI failed with 56 formatting errors and 17 lint errors; build passed. Full unit tests were not run. Source-PR checks are not combined-branch CI.

Blockers and follow-up

  • Technical blockers: Unresolved target-version formatting/lint failures and an unmigrated schema URL.
  • Readiness gates: Successful revision validation, a committed update, required combined-branch CI and approval.
  • After merge: None required; adopting additional formatting coverage remains a separate maintainer decision.
  • Issue handoff: None now; the bounded revision addresses the immediate upgrade.

Migration steps

  • Upgrade guide: https://biomejs.dev/guides/upgrade-to-biome-v2/ (general configuration migration guidance, not evidence that a major-version migration is needed here).
  • Migration command: ./node_modules/.bin/biome migrate --write — not run by the worker; required before manual adaptation.
  • Findings fixed: None yet.
  • Suppressions added: None. No broad formatting rewrite or rule downgrade was added.
  • Decisions deferred: Adoption of YAML/Markdown formatting. Preserve earlier scope using yaml.formatter.enabled=false and markdown.formatter.enabled=false, then reassess remaining findings.
  • Release artifact: Not needed for this development-tool-only update.

Your decision

Requested action: hold this version until the bounded migration revision passes the relevant checks. No approval, publication or merge has been performed.

Details: lens analysis, validation, and discussion

Security: the worker's public advisory query returned zero entries, which is not an exhaustive security certification. Published MIT and Apache licence hashes matched between 2.5.15 and 2.6.6.

Code quality: 2.6.6 fails repository-wide validation; the build alone does not resolve formatter/linter compatibility. Official guidance documents configuration migration, and the target schema supports language-specific formatter opt-outs. These steps were skipped, so one revision is preferable to a final compatibility rejection.

Impact: changes are limited to the development tool and its CLI binaries, but required repository checks fail. New YAML formatting is documented in 2.6.2; source-PR annotations also identify Markdown formatting differences.

Worker checks:

  • bun install --lockfile-only: passed — Worker: Bun 1.4.4 regenerated bun.lock; only Biome CLI resolutions changed.
  • bun install --frozen-lockfile: passed — Worker: exit 0; installed Biome 2.6.6.
  • ./node_modules/.bin/biome ci: failed — Worker: exit 1; 73 errors (56 formatting, 17 lint), 34 warnings, 3 infos across 334 files.
  • bun run check: failed — Worker: exit 1; 73 errors, 34 warnings, 3 infos.
  • bun run check:errors: failed — Worker: exit 1; 73 errors.
  • bun run lint: failed — Worker: exit 1; 17 errors, 34 warnings, 3 infos.
  • bun run format: failed — Worker: exit 1; 56 errors.
  • bun run lint:staged: passed — Worker: exit 0; staged manifest only.
  • bun run format:staged: passed — Worker: exit 0; staged manifest only.
  • bun run build: passed — Worker: exit 0; not combined-branch CI.

Previous-version checks passed before installation. No successful checks were repeated by the coordinator. Their durations and validation-worktree revisions were not supplied. Current /candidate HEAD is e9f86fa; package.json and bun.lock are modified, and no candidate commit exists. No whitespace or ancestry acceptance checks were performed.

Discussion: the one top-level comment was the changesets bot notice; supplied reviews and review comments are empty. No unresolved human objections were supplied.

An initial release-evidence extraction exceeded the output limit; a narrower extraction succeeded. This is recovered evidence-reading failure, not a failed validation result.

References and evidence

Greenkeeper did not add this update to #3507. It stays open for Dependabot and maintainers.

@dependabot
dependabot Bot force-pushed the dependabot/bun/biomejs/biome-2.6.6 branch 3 times, most recently from 94d4f8a to eb6135c Compare November 13, 2026 09:43
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.5.15 to 2.6.6.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG_v1.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.6.6/packages/@biomejs/biome)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bun/biomejs/biome-2.6.6 branch from eb6135c to e162bbf Compare November 13, 2026 09:56
eikeland and others added 2 commits November 13, 2026 11:04
- migrate $schema to 2.6.6
- keep markdown/yaml formatters disabled (enabled by default in 2.6)
- disable noComponentHookFactories in test files and suppress it for the
  intentional makeStyles hook factory

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI 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.

🟡 Changes recommended

The broad test-file override in biome.json disables an error-level React correctness rule and could conceal future state-losing nested component or hook definitions, so it should be narrowed or replaced with targeted suppressions.

1 open issue
What changed in this PR

Updates the repository’s development-only Biome dependency from 2.5.15 to 2.6.6 and adjusts lint configuration for the newer ruleset without changing production runtime behavior.

Changes:

  • Bumps Biome and synchronizes its platform-specific CLI packages in the Bun lockfile.
  • Switches the Biome schema reference to the locally installed package schema.
  • Suppresses the intentional hook-factory diagnostic in makeStyles and configures a test-file override for the same rule.
  • The blanket test-file override broadens suppression beyond the known fixtures and remains a maintainability concern.
File Description
packages/​styles/​src/​make-styles.ts Adds a targeted suppression for the intentional makeStyles hook factory.
package.json Updates the Biome development dependency to version 2.6.6.
bun.lock Synchronizes Biome 2.6.6 and its platform-specific CLI package entries.
biome.json Updates schema resolution and configures formatter and linter exceptions, including the test-file hook-factory override.

Review effort: Lite

Comment thread biome.json Resolved
- re-enable biome markdown/yaml formatting and apply it
- exclude generated apm.lock.yaml from biome
- format after changeset version so release PRs stay lint-clean
- convert styles __tests__ README from a JSDoc block to real markdown

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI 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.

🟡 Changes recommended

The release version script can rewrite and commit unrelated repository-wide files, creating active release automation churn that must be restricted before approval.

2 open issues

Review effort: Lite

Comment thread package.json Resolved
- replace test-wide noComponentHookFactories override with targeted ignores
- only format generated CHANGELOGs in changeset:version

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI 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.

🔵 Needs a closer look

Human assessment is needed because the formatted README contains a malformed Markdown table that misdocuments the charCounter prop.

No open issues 🎉

2 resolved since last review

Review effort: Lite

@asbjornhaland
asbjornhaland self-requested a review November 13, 2026 11:47
chdefrene
chdefrene previously approved these changes Nov 13, 2026

@chdefrene chdefrene 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.

A-OK

- restore CHANGELOG.md files and exclude them from biome
- revert changeset:version formatting step
- add .tmp/ to .gitignore and untrack accidentally committed scratch file

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI 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.

🔵 Needs a closer look

The change combines a dependency bump with a separate skills update and broad repository-wide formatting/configuration changes, while lacking a PR number and CI status, so scope and verification require maintainer confirmation.

No open issues 🎉

Review effort: Lite

@eikeland
eikeland merged commit 32a4a7a into main Nov 13, 2026
5 checks passed
@eikeland
eikeland deleted the dependabot/bun/biomejs/biome-2.6.6 branch November 13, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants