Skip to content

chore(biome): point schema to local node_modules#108

Open
frankieyan wants to merge 1 commit into
mainfrom
frankie/biome-schema
Open

chore(biome): point schema to local node_modules#108
frankieyan wants to merge 1 commit into
mainfrom
frankie/biome-schema

Conversation

@frankieyan
Copy link
Copy Markdown
Member

Overview

After #106 bumped @biomejs/biome to 2.4.15, biome.json still pinned its $schema to the 2.3.11 CDN URL. The mismatch is harmless at runtime (Biome reads the config either way), but editors validating against the stale URL show outdated autocomplete, and every Renovate bump widens the gap.

We point $schema at the copy under node_modules instead, which is the pattern Biome recommends for keeping the schema in lockstep with the installed version. After this, the reference tracks @biomejs/biome automatically and we never have to touch biome.json on a dependency bump.

Reference

Test plan

  • Open biome.json in an editor with Biome support and confirm $schema resolves to the 2.4.15 schema under node_modules

Pin the $schema reference to the installed Biome version under node_modules
so it stays in lockstep with @biomejs/biome instead of drifting whenever
Renovate bumps the package.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frankieyan frankieyan requested a review from a team as a code owner May 15, 2026 17:43
@frankieyan frankieyan requested review from pedroalves0 and removed request for a team May 15, 2026 17:43
Copy link
Copy Markdown
Member

@doistbot doistbot left a comment

Choose a reason for hiding this comment

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

This PR updates the biome.json configuration to point its schema to the local node_modules copy rather than a hardcoded CDN URL. This is a great maintainability improvement that will automatically keep editor autocomplete in lockstep with the installed Biome version and prevent future drift. No issues were flagged during the review.

Share FeedbackReview Logs

@frankieyan frankieyan added the 👀 Show PR PR must be reviewed before or after merging label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👀 Show PR PR must be reviewed before or after merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants