Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"zod": ">=3.25.76 <5.0.0"
},
"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.

"@lokalise/biome-config": "^2.0.0",
"@types/node": "^25.0.2",
"@types/tmp": "^0.2.6",
Expand Down
Loading