diff options
| author | 2026-01-16 13:55:57 +0800 | |
|---|---|---|
| committer | 2026-01-16 14:18:19 +0800 | |
| commit | 1d1748edd845afe34d73dfecb59c10b14e204c50 (patch) | |
| tree | 6089f77c9167c5a28eb94b7ba107c23885510492 /.pre-commit-config.yaml | |
| parent | 47ec90726e2402eba2cf4b50a2cc572f2cfbcbd5 (diff) | |
| download | DropOut-1d1748edd845afe34d73dfecb59c10b14e204c50.tar.gz DropOut-1d1748edd845afe34d73dfecb59c10b14e204c50.zip | |
chore: refine pre-commit configuration for Rust hooks
Updated the .pre-commit-config.yaml to specify the manifest path for Rust hooks, ensuring proper integration with the Cargo.toml file in the src-tauri directory. This change enhances the functionality of the formatting and linting processes.
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8b6348..90070a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,5 +21,6 @@ repos: rev: v1.0 hooks: - id: fmt + args: ["--manifest-path", "src-tauri/Cargo.toml"] - id: clippy - args: ["--", "-D", "warnings"]
\ No newline at end of file + args: ["--manifest-path", "src-tauri/Cargo.toml", "--", "-D", "warnings"]
\ No newline at end of file |