Skip to content

Commit e28b88b

Browse files
committed
feat(go-runner): add pre-commit config for Rust
1 parent 2527c20 commit e28b88b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ repos:
88
- id: check-json
99
- id: check-merge-conflict
1010
- id: check-added-large-files
11+
12+
- repo: https://github.com/doublify/pre-commit-rust
13+
rev: v1.0
14+
hooks:
15+
- id: fmt
16+
args: [--all, --]
17+
- id: cargo-check
18+
args: [--all-targets]
19+
- id: clippy
20+
args: [--all-targets, --, -D, warnings]

0 commit comments

Comments
 (0)