Skip to content

Commit 81b0162

Browse files
committed
fix(linter): preserve json key order for oxlint --init (#13121)
closes #13111
1 parent d543199 commit 81b0162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ rustc-hash = { workspace = true }
6868
schemars = { workspace = true, features = ["indexmap2"] }
6969
self_cell = { workspace = true }
7070
serde = { workspace = true, features = ["derive"] }
71-
serde_json = { workspace = true }
71+
serde_json = { workspace = true, features = ["preserve_order"] } # preserve_order: print config with ordered keys.
7272
simdutf8 = { workspace = true }
7373
smallvec = { workspace = true }
7474
tokio = { workspace = true, optional = true }

0 commit comments

Comments
 (0)