File tree Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Original file line number Diff line number Diff line change 1- # Sorts `Cargo.toml` dependencies. All other `.toml` files are formatted with the default config.
2- #
3- # https://taplo.tamasfe.dev/configuration/file.html#configuration-file
4-
5- [formatting ]
6- reorder_keys = false
7-
8- [[rule ]]
9- include = [" **/Cargo.toml" ]
10- keys = [" dependencies" ]
11-
12- [rule .formatting ]
13- reorder_keys = true
1+ # Sorts `Cargo.toml` dependencies. All other `.toml` files are formatted with the default config.
2+ #
3+ # https://taplo.tamasfe.dev/configuration/file.html#configuration-file
4+
5+ [formatting ]
6+ align_comments = true
7+ align_entries = true
8+ #
9+ array_auto_collapse = false
10+ array_auto_expand = true
11+ array_trailing_comma = true
12+ #
13+ compact_arrays = false
14+ compact_entries = false
15+ compact_inline_tables = false
16+ #
17+ indent_entries = true
18+ indent_tables = true
19+ #
20+ reorder_arrays = true
21+ reorder_inline_tables = true
22+ reorder_keys = true
23+ #
24+ crlf = true
You can’t perform that action at this time.
0 commit comments