From e859f0e67d51797480a06bf39305c43823626f4b Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Mon, 26 Feb 2024 16:57:49 +0800 Subject: [PATCH] chore: skip reorder workspace tables in taplo (#3388) Signed-off-by: Ruihang Xia --- taplo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/taplo.toml b/taplo.toml index 39c6e13aea..2ca63087fd 100644 --- a/taplo.toml +++ b/taplo.toml @@ -34,3 +34,7 @@ crlf = false [[rule]] keys = ["build-dependencies", "dependencies", "dev-dependencies", "workspace.dependencies"] formatting = { reorder_keys = true } + +[[rule]] +keys = ["package", "workspace.package"] +formatting = { reorder_keys = false }