From da0d79f0db873c08fab3bc85023167e174d18b0e Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Mon, 19 Jan 2026 14:17:32 +0800 Subject: chore(ui): refactor workspace to monorepo --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.pre-commit-config.yaml') 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$ -- cgit v1.2.3-70-g09d2