rustypipe/.pre-commit-config.yaml
2022-10-10 01:12:28 +02:00

14 lines
336 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- id: check-json
- repo: https://github.com/cathiele/pre-commit-rust
rev: v0.1.0
hooks:
- id: cargo-fmt
- id: cargo-check
- id: cargo-clippy
args: ["--", "-D", "warnings"]