+
Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions .changeset/gentle-doors-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@biomejs/biome": patch
---

Reduced the severity of certain diagnostics emitted when Biome deserializes the configuration files.
Now these diagnostics are emitted as `Information` severity, which means that they won't interfere when running commands with `--error-on-warnings`
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ check ━━━━━━━━━━━━━━━━━━━━━━━━
```block
biome.json:2:16 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

! The configuration schema version does not match the CLI version 0.0.0
i The configuration schema version does not match the CLI version 0.0.0

1 │ {
> 2 │ "$schema": "https://biomejs.dev/schemas/0.0.1/schema.json"
Expand Down Expand Up @@ -61,5 +61,4 @@ biome.json format ━━━━━━━━━━━━━━━━━━━━
```block
Checked 1 file in <TIME>. No fixes applied.
Found 1 error.
Found 1 warning.
```
2 changes: 1 addition & 1 deletion crates/biome_configuration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ impl Deserializable for Schema {
markup!(<Warn>"The configuration schema version does not match the CLI version " {VERSION}</Warn>),
)
.with_range(range)
.with_custom_severity(Severity::Warning)
.with_custom_severity(Severity::Information)
.with_note(markup!(
{KeyValuePair("Expected", markup!({VERSION}))}
{KeyValuePair("Found", markup!({config_version_str}))}
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载