From 310aee29c1ea5149ef9d6cf663e4a07c3cb201ee Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Fri, 16 Jan 2026 14:09:41 +0800 Subject: chore: update clippy arguments in pre-commit configuration to treat warnings as errors Modified the .pre-commit-config.yaml to adjust the clippy hook arguments, enforcing warnings as errors. This change enhances the strictness of the linting process for Rust code, ensuring higher code quality standards. --- .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 2524d4a..a8ee70d 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", "--"] + args: ["--manifest-path", "src-tauri/Cargo.toml", "-D", "warnings", "--"] -- cgit v1.2.3-70-g09d2