🐛 Point to locally installed schema definition by default #7911
                  
                    
                      nikoheikkila
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 2 comments 2 replies
-
| 
         There are pros and cons to both: Schema pros: 
 Schema cons: 
 Local pros: 
 Local cons: 
 Initially, we chose node_modules, and changed to the web schema.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 
         Fair enough, I see the points. Would it make sense then to additionally publish a major version schema via   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Environment information
What happened?
I have configured Renovate bot to automatically update Biome along with other packages. After merging the Renovate update, I consistently hit a warning about Biome installation drifting from the configuration schema.
biome.json:2:13 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ℹ The configuration schema version does not match the CLI version 2.3.1 1 │ { > 2 │ "$schema": "https://biomejs.dev/schemas/2.3.0/schema.json", │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 │ "vcs": { 4 │ "enabled": true, ℹ Expected: 2.3.1 Found: 2.3.0 ℹ Run the command biome migrate to migrate the configuration file.Expected result
Since Biome is shipping the schema in path
node_modules/@biomejs/biome/configuration_schema.jsonI suggest it's used as the default for new projects. If necessary,biome initscript could provide a flag or interactively ask for this.Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions