-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (44 loc) · 1.13 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (44 loc) · 1.13 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
fail_fast: false
ci:
skip:
- cargo-fmt
- cargo-check
- cargo-clippy
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v6.0.0"
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/berquist/pre-commit-rust
rev: v2.1.1
hooks:
- id: cargo-fmt
- id: cargo-check
- id: cargo-clippy
args: ["--all-targets", "--all-features", "--", "-D", "warnings"]
- repo: https://github.com/google/yamlfmt
rev: "v0.21.0"
hooks:
- id: yamlfmt
- repo: https://github.com/rhysd/actionlint
rev: v1.7.11
hooks:
- id: actionlint
additional_dependencies:
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@v0.10.0"
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.12.1
hooks:
- id: zizmor
args: [--no-progress, --persona=pedantic]