blob: 2862e75e7f4f8c3e549f8c6dd5ac650bb08e37f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-json
exclude: ^ui/tsconfig.*\.json$
- id: check-toml
- id: check-yaml
- id: fix-byte-order-marker
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
args: ["--manifest-path", "src-tauri/Cargo.toml", "--"]
- id: clippy
args: ["--manifest-path", "src-tauri/Cargo.toml", "--"]
|