From f9d3c73c15a9eb94067617c8d6991b666a4e6886 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 8 May 2024 09:58:12 +0100 Subject: [PATCH] build: Add taplo configuration file for Cargo.toml files This configuration enforces the alphebetical ordering of arrays and keys in the Cargo.toml files. Signed-off-by: Rob Bradford --- .taplo.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .taplo.toml diff --git a/.taplo.toml b/.taplo.toml new file mode 100644 index 000000000..9bd6f6eee --- /dev/null +++ b/.taplo.toml @@ -0,0 +1,5 @@ +include = ["**/Cargo.toml"] + +[formatting] +reoder_arrays = true +reorder_keys = true