Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inconsistencies in taplo.toml
Browse files Browse the repository at this point in the history
rmburg committed Jan 11, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 18b86da commit 5116de1
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -7,40 +7,25 @@ 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"]

[rule.formatting]
reorder_keys = true
align_comments = true
align_comments = true

[[rule]]
include = ["**/Cargo.toml"]
keys = ["package", "workspace.package"]
keys = ["dependencies", "*-dependencies"]

[rule.formatting]
reorder_keys = false
align_comments = true
reorder_keys = true

0 comments on commit 5116de1

Please sign in to comment.