From 0ad51fc91b5732a4bb05add8dc006bc478a10266 Mon Sep 17 00:00:00 2001 From: autocommit Date: Mon, 13 Apr 2026 14:10:28 -0700 Subject: [PATCH] =?UTF-8?q?chore(linting):=20=F0=9F=94=A7=20Update=20Clipp?= =?UTF-8?q?y=20and=20rustfmt=20configurations=20to=20enforce=20stricter=20?= =?UTF-8?q?linting=20and=20formatting=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- clippy.toml | 4 ++++ rustfmt.toml | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 clippy.toml create mode 100644 rustfmt.toml diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 00000000..9b18f102 --- /dev/null +++ b/clippy.toml @@ -0,0 +1,4 @@ +cognitive-complexity-threshold = 30 +too-many-arguments-threshold = 7 +too-many-lines-threshold = 200 +type-complexity-threshold = 250 diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..21b87307 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,9 @@ +edition = "2021" +max_width = 100 +use_small_heuristics = "Max" +imports_granularity = "Crate" +group_imports = "StdExternalCrate" +reorder_imports = true +reorder_modules = true +trailing_comma = "Vertical" +match_arm_blocks = true