From f1eaa8fcc90c3fec0bcedc1ce060f1dcfea5bcd6 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Fri, 16 Jan 2026 14:10:59 +0800 Subject: chore: adjust clippy arguments in pre-commit configuration for improved linting Modified the .pre-commit-config.yaml to reorder the arguments for the clippy hook, ensuring that the `-D warnings` flag is correctly positioned. This change enhances the clarity and effectiveness of the linting process for Rust code. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a8ee70d..01d4add 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,4 +23,4 @@ repos: - id: fmt args: ["--check", "--manifest-path", "src-tauri/Cargo.toml", "--"] - id: clippy - args: ["--manifest-path", "src-tauri/Cargo.toml", "-D", "warnings", "--"] + args: ["--manifest-path", "src-tauri/Cargo.toml", "--", "-D", "warnings"] -- cgit v1.2.3-70-g09d2