aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2026-01-19 14:17:32 +0800
committer苏向夜 <fu050409@163.com>2026-01-19 14:17:32 +0800
commitda0d79f0db873c08fab3bc85023167e174d18b0e (patch)
tree4a1934780d0d723ec8b834088188d4714f2cf3e7 /.pre-commit-config.yaml
parent887e415314014c3da7db3048fa0e724f3078c5cb (diff)
downloadDropOut-da0d79f0db873c08fab3bc85023167e174d18b0e.tar.gz
DropOut-da0d79f0db873c08fab3bc85023167e174d18b0e.zip
chore(ui): refactor workspace to monorepo
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7fd9d5e..1713952 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,14 +1,14 @@
ci:
autofix_prs: true
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks [skip ci]"
- skip: [fmt,cargo-check,clippy]
+ skip: [fmt, cargo-check, clippy]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-json
- exclude: ^ui/tsconfig.*\.json$
+ exclude: ^packages/ui/tsconfig.*\.json$
- id: check-toml
- id: check-yaml
- id: check-case-conflict
@@ -22,19 +22,19 @@ repos:
rev: v0.14.13
hooks:
- id: ruff
- args: [ --fix ]
+ args: [--fix]
- id: ruff-format
- repo: https://github.com/FeryET/pre-commit-rust
rev: v1.2.1
hooks:
- id: fmt
- args: [ --manifest-path, src-tauri/Cargo.toml, -- ]
+ args: [--manifest-path, src-tauri/Cargo.toml, --]
files: ^src-tauri/.*\.rs$
pass_filenames: false
- id: cargo-check
- args: [ --manifest-path, src-tauri/Cargo.toml ]
+ args: [--manifest-path, src-tauri/Cargo.toml]
files: ^src-tauri/.*\.rs$
- id: clippy
- args: [ --manifest-path, src-tauri/Cargo.toml ]
+ args: [--manifest-path, src-tauri/Cargo.toml]
files: ^src-tauri/.*\.rs$