Skip to content

Commit

Permalink
Update taplo config
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Dec 7, 2024
1 parent dc04025 commit b7a402c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
exclude = ["target/**"]
include = ["**/*.toml"]

[schema]
path = "taplo://taplo.toml"

[formatting]
reorder_keys = false
column_width = 120

[[rule]]
include = ["**/Cargo.toml"]
keys = ["dependencies", "dev-dependencies", "build-dependencies", "features"]
keys = [
"dependencies",
"dev-dependencies",
"build-dependencies",
"features",
"target.*.dependencies",
"target.*.dev-dependencies",
"target.*.build-dependencies",
"workspace.dependencies",
]

[rule.formatting]
reorder_keys = true
Expand Down

0 comments on commit b7a402c

Please sign in to comment.