forked from backpack-exchange/bpx-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaplo.toml
More file actions
26 lines (21 loc) · 718 Bytes
/
taplo.toml
File metadata and controls
26 lines (21 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include = ["**/Cargo.toml", ".cargo/audit.toml", "rustfmt.toml", "taplo.toml"]
[schema]
path = "https://taplo.tamasfe.dev/schemas/Cargo.toml.json"
[formatting]
allowed_blank_lines = 1
array_auto_collapse = true
array_auto_expand = true
compact_arrays = true
indent_string = " "
trailing_newline = true
[[rule]]
formatting = { reorder_arrays = true, reorder_keys = true }
include = ["Cargo.toml"]
keys = ["workspace", "workspace.dependencies", "workspace.dev-dependencies"]
[[rule]]
formatting = { reorder_arrays = true, reorder_keys = true }
include = ["**/Cargo.toml"]
keys = ["dependencies", "dev-dependencies"]
[[rule]]
formatting = { reorder_arrays = true, reorder_keys = true }
include = ["rustfmt.toml"]