diff options
| author | 2026-01-16 14:09:41 +0800 | |
|---|---|---|
| committer | 2026-01-16 14:18:20 +0800 | |
| commit | 310aee29c1ea5149ef9d6cf663e4a07c3cb201ee (patch) | |
| tree | e7b217b8df602381cab288d3487d1d7cde087cfc | |
| parent | 9948550785d6bf273cadd7dc132038277964e9eb (diff) | |
| download | DropOut-310aee29c1ea5149ef9d6cf663e4a07c3cb201ee.tar.gz DropOut-310aee29c1ea5149ef9d6cf663e4a07c3cb201ee.zip | |
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.
| -rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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", "--"] |