From 737ed72c9ee61c0c5f90dfda3fec9c8d77cd71d1 Mon Sep 17 00:00:00 2001 From: "Pengfei(Andy) Zhang" Date: Tue, 15 Oct 2024 10:26:46 -0400 Subject: [PATCH] style: add tomlfmt.toml to unify cargo-sort configuration. --- tomlfmt.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tomlfmt.toml diff --git a/tomlfmt.toml b/tomlfmt.toml new file mode 100644 index 000000000..386fb37a0 --- /dev/null +++ b/tomlfmt.toml @@ -0,0 +1,9 @@ +# configuration file for cargo-sort. +always_trailing_comma = false +multiline_trailing_comma = true +space_around_eq = true +compact_arrays = false +compact_inline_tables = false +trailing_newline = true +key_value_newlines = true +allowed_blank_lines = 1