-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (35 loc) · 994 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (35 loc) · 994 Bytes
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
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
language: node
additional_dependencies:
- prettier@^3.6.2
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: clippy
- repo: https://github.com/EmbarkStudios/cargo-deny
rev: 0.19.0
hooks:
- id: cargo-deny
# - repo: https://github.com/bnjbvr/cargo-machete
# rev: ba1bcd4
# hooks:
# - id: cargo-machete
- repo: local
hooks:
- id: cargo-machete
name: cargo-machete
language: rust
entry: cargo machete
types: [file, toml]
files: Cargo\.(toml|lock)
pass_filenames: false
- repo: https://github.com/DevinR528/cargo-sort
rev: v2.1.1
hooks:
- id: cargo-sort
args: ['.', '--workspace']