diff options
| author | 2026-01-16 14:10:59 +0800 | |
|---|---|---|
| committer | 2026-01-16 14:18:20 +0800 | |
| commit | f1eaa8fcc90c3fec0bcedc1ce060f1dcfea5bcd6 (patch) | |
| tree | 7dd46b0a47a2f005c70743833e30ddb1d392e7cf /.pre-commit-config.yaml | |
| parent | 310aee29c1ea5149ef9d6cf663e4a07c3cb201ee (diff) | |
| download | DropOut-f1eaa8fcc90c3fec0bcedc1ce060f1dcfea5bcd6.tar.gz DropOut-f1eaa8fcc90c3fec0bcedc1ce060f1dcfea5bcd6.zip | |
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.
Diffstat (limited to '.pre-commit-config.yaml')
| -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 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"] |