Skip to content

Bump @biomejs/biome from 1.9.4 to 2.4.1#259

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.1
Closed

Bump @biomejs/biome from 1.9.4 to 2.4.1#259
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps @biomejs/biome from 1.9.4 to 2.4.1.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.4.1

2.4.1

Patch Changes

  • #9092 6edd600 Thanks @​ematipico! - Fixed #9052. This PR reverts changes introduced by biomejs/biome#8519, which caused unwanted changes on how paths are resolved.

  • #9091 3bf674d Thanks @​ematipico! - Fixed #9090, where SCSS files were incorrectly processed by Biome. This was a regressions caused by the latest developments for supporting SCSS out of the box.

  • #9100 66931a8 Thanks @​siketyan! - Fixed #9081: The noUnknownPseudoElement rule no longer reports false positives for any known pseudo elements in CSS modules. This was a regression introduced in v2.4.0.

  • #9102 d01b903 Thanks @​ematipico! - Fixed #9095, where Biome didn't print anything in stdin mode. This was a regression caused by a recent, internal refactor.

What's Changed

Full Changelog: https://github.com/biomejs/biome/compare/@​biomejs/biome@​2.4.0...@​biomejs/biome@​2.4.1

Biome CLI v2.4.0

2.4.0

Minor Changes

  • #8964 0353fa0 Thanks @​dyc3! - Added ignore option to the useHookAtTopLevel rule.

    You can now specify function names that should not be treated as hooks, even if they follow the use* naming convention.

    Example configuration:

    {
      "linter": {
        "rules": {

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.4.1

Patch Changes

  • #9092 6edd600 Thanks @​ematipico! - Fixed #9052. This PR reverts changes introduced by biomejs/biome#8519, which caused unwanted changes on how paths are resolved.

  • #9091 3bf674d Thanks @​ematipico! - Fixed #9090, where SCSS files were incorrectly processed by Biome. This was a regressions caused by the latest developments for supporting SCSS out of the box.

  • #9100 66931a8 Thanks @​siketyan! - Fixed #9081: The noUnknownPseudoElement rule no longer reports false positives for any known pseudo elements in CSS modules. This was a regression introduced in v2.4.0.

  • #9102 d01b903 Thanks @​ematipico! - Fixed #9095, where Biome didn't print anything in stdin mode. This was a regression caused by a recent, internal refactor.

2.4.0

Minor Changes

  • #8964 0353fa0 Thanks @​dyc3! - Added ignore option to the useHookAtTopLevel rule.

    You can now specify function names that should not be treated as hooks, even if they follow the use* naming convention.

    Example configuration:

    {
      "linter": {
        "rules": {
          "correctness": {
            "useHookAtTopLevel": {
              "options": {
                "ignore": ["useDebounce", "useCustomUtility"]
              }
            }
          }
        }
      }
    }
  • #8769 d0358b0 Thanks @​rahuld109! - Added the rule useAnchorContent for HTML to enforce that anchor elements have accessible content for screen readers. The rule flags empty anchors, anchors with only whitespace, and anchors where all content is hidden with aria-hidden. Anchors with aria-label or title attributes providing a non-empty accessible name are considered valid.

  • #8742 6340ce6 Thanks @​rahuld109! - Added the rule useMediaCaption to the HTML language. Enforces that audio and video elements have a track element with kind="captions" for accessibility. Muted videos are allowed without captions.

  • #8621 d11130b Thanks @​Netail! - Added support for multiple reporters, and the ability to save reporters on arbitrary files.

    Combine two reporters in CI

    If you run Biome on GitHub, take advantage of the reporter and still see the errors in console, you can now use both reporters:

    biome ci --reporter=default --reporter=github

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~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)

Summary by CodeRabbit

  • Chores
    • Upgraded development build tool to the latest version.

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.4.1.
- [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.1/packages/@biomejs/biome)

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

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

coderabbitai bot commented Feb 16, 2026

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

A development dependency version update was applied to the project configuration. The "@biomejs/biome" package was upgraded from version "^1.9.4" to "^2.4.1" in package.json, introducing access to a newer major version of the code quality tool.

Changes

Cohort / File(s) Summary
Development Dependency Update
package.json
Upgraded "@biomejs/biome" devDependency from "^1.9.4" to "^2.4.1" (major version bump from v1 to v2).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description includes comprehensive release notes and changelog details from the dependency maintainers, but lacks required template sections: no explicit 'Changes' description summary and no checklist items marked (labels, documentation/test updates). Add a 'Changes' section summarizing the update, then complete the checklist by marking items and selecting appropriate release label (already labeled as 'major' in the PR metadata).
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Bump @biomejs/biome from 1.9.4 to 2.4.1' clearly and concisely describes the main change—a dependency version upgrade—matching the single file modification in package.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/npm_and_yarn/biomejs/biome-2.4.1

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@package.json`:
- Line 48: The biome.json $schema value is still pinned to
"https://biomejs.dev/schemas/2.3.14/schema.json" which conflicts with the
package.json dependency bump to `@biomejs/biome` ^2.4.1; update the "$schema"
entry in biome.json to "https://biomejs.dev/schemas/2.4.1/schema.json" so the
schema version matches the upgraded Biome dependency and avoids
validation/linting mismatches.

},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@biomejs/biome": "^2.4.1",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Locate Biome config files (if any)
fd -a 'biome\.(json|jsonc)$|biome\.config\.(js|cjs|mjs|ts)$'

# Quick scan for schema/version hints or extends
rg -n '"\\$schema"|schemaVersion|extends|linter|formatter' $(fd -a 'biome\.(json|jsonc)$' || true)

# Confirm lockfile update (if present)
rg -n '"@biomejs/biome"|@biomejs/biome' package-lock.json yarn.lock pnpm-lock.yaml 2>/dev/null || true

Repository: lokalise/node-core

Length of output: 145


🏁 Script executed:

#!/bin/bash
# Read the biome.json file to check structure and schema
cat -n biome.json

# Check package.json for dependencies on `@lokalise/biome-config`
echo "=== Checking for `@lokalise/biome-config` ==="
rg -n '@lokalise/biome-config' package.json

# Check lockfile for `@biomejs/biome` version
echo "=== Checking lockfile for `@biomejs/biome` ==="
if [ -f package-lock.json ]; then
  echo "=== package-lock.json ==="
  rg -A 5 '"@biomejs/biome"' package-lock.json | head -20
elif [ -f yarn.lock ]; then
  echo "=== yarn.lock ==="
  rg -A 5 '@biomejs/biome' yarn.lock | head -20
elif [ -f pnpm-lock.yaml ]; then
  echo "=== pnpm-lock.yaml ==="
  rg -A 5 '@biomejs/biome' pnpm-lock.yaml | head -20
fi

Repository: lokalise/node-core

Length of output: 2483


🏁 Script executed:

#!/bin/bash
# Check git status/diff for biome.json to see if it's being modified
echo "=== Checking if biome.json is modified in this change ==="
git diff biome.json 2>/dev/null || echo "No git diff available"

# More detailed lockfile search
echo "=== Lockfile check ==="
if [ -f package-lock.json ]; then
  echo "=== Found package-lock.json, searching for `@biomejs/biome` ==="
  jq '.dependencies."@biomejs/biome"' package-lock.json 2>/dev/null || rg '"@biomejs/biome"' package-lock.json -A 3 | head -20
elif [ -f yarn.lock ]; then
  echo "=== Found yarn.lock ==="
  grep -A 10 '@biomejs/biome' yarn.lock | head -20
elif [ -f pnpm-lock.yaml ]; then
  echo "=== Found pnpm-lock.yaml ==="
  grep -A 10 '@biomejs/biome' pnpm-lock.yaml | head -20
fi

# Check what Biome 2.4.1 schema URL should be
echo "=== Schema URL for Biome 2.4.1 should be ==="
echo "https://biomejs.dev/schemas/2.4.1/schema.json"

Repository: lokalise/node-core

Length of output: 2482


Update biome.json schema to match Biome 2.4.1 (Line 2 of biome.json).

The schema version in biome.json is pinned to 2.3.14, but the package.json upgrade targets ^2.4.1. Update the schema URL to https://biomejs.dev/schemas/2.4.1/schema.json to prevent validation errors and ensure the linter uses the correct rule set for version 2.4.1.

Current schema mismatch in biome.json
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json"

Should be:

"$schema": "https://biomejs.dev/schemas/2.4.1/schema.json"
🤖 Prompt for AI Agents
In `@package.json` at line 48, The biome.json $schema value is still pinned to
"https://biomejs.dev/schemas/2.3.14/schema.json" which conflicts with the
package.json dependency bump to `@biomejs/biome` ^2.4.1; update the "$schema"
entry in biome.json to "https://biomejs.dev/schemas/2.4.1/schema.json" so the
schema version matches the upgraded Biome dependency and avoids
validation/linting mismatches.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2026

Superseded by #260.

@dependabot dependabot bot closed this Feb 23, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/biomejs/biome-2.4.1 branch February 23, 2026 18:00
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