aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 14:09:41 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 14:18:20 +0800
commit310aee29c1ea5149ef9d6cf663e4a07c3cb201ee (patch)
treee7b217b8df602381cab288d3487d1d7cde087cfc /.pre-commit-config.yaml
parent9948550785d6bf273cadd7dc132038277964e9eb (diff)
downloadDropOut-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.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
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", "--"]