Skip to content

Commit

Permalink
Fix inconsistencies in taplo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rmburg committed Jan 11, 2025
1 parent 18b86da commit 6dbc22a
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions taplo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6dbc22a

Please sign in to comment.