From 6dbc22a01525740da858ea0c37a6171f88437fbd Mon Sep 17 00:00:00 2001 From: Rasmus Mecklenburg <42248344+rmburg@users.noreply.github.com> Date: Sat, 11 Jan 2025 11:13:47 +0100 Subject: [PATCH] Fix inconsistencies in `taplo.toml` --- taplo.toml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/taplo.toml b/taplo.toml index d036f3dfa..bdee57d1d 100644 --- a/taplo.toml +++ b/taplo.toml @@ -7,40 +7,31 @@ exclude = [ ] [formatting] +align_entries = true [[rule]] - -[rule.formatting] include = ["taplo.toml"] -keys = ["exclude"] +[rule.formatting] array_auto_collapse = false [[rule]] - -[rule.formatting] include = ["**/Cargo.toml"] +[rule.formatting] array_auto_expand = false inline_table_expand = false -[[rule]] - -[rule.formatting] -align_entries = true - [[rule]] include = ["**/Cargo.toml"] -keys = ["dependencies", "*-dependencies", "workspace"] +keys = [ + "dependencies", + "*-dependencies", + "workspace", + "package", + "workspace.package", +] [rule.formatting] reorder_keys = true align_comments = true - -[[rule]] -include = ["**/Cargo.toml"] -keys = ["package", "workspace.package"] - -[rule.formatting] -reorder_keys = false -align_comments = true