chore: add pre-commit

This commit is contained in:
ThetaDev 2022-09-21 17:27:23 +02:00
parent e4b10fcc83
commit 169b70ff06

7
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/cathiele/pre-commit-rust
rev: v0.1.0
hooks:
- id: cargo-fmt
- id: cargo-check
- id: cargo-clippy