Replies: 2 comments
-
We recommend running |
Beta Was this translation helpful? Give feedback.
0 replies
-
Another option, if you are using node_modules, you can point it to local version like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the situation:
A developer sets up
biome.json
, specifying"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
at the top, perhaps following the guidelines, not giving much thought about it.Biome 1.9.0 comes along, with new, undoubtedly cool features.
The developer would like to use some of these new features and tries to enable them in biome.json. They are met with "Found an unknown key" or similar in their IDE. Unless they know what
$schema
does, they could be puzzled about why their now has errors, despite Biome being fully up to date.Solution:
When Biome runs, check if Biome version matches
$schema
. If not, update$schema
on the fly.Beta Was this translation helpful? Give feedback.
All reactions