diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..bc74bcb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: +- repo: https://github.com/doublify/pre-commit-rust + rev: v1.0 + hooks: + - id: fmt + - id: cargo-check + - id: clippy + args: ["--", "-D", "clippy:all", "-D", "clippy::pedantic", "-D", "clippy::cargo", "-A", "clippy::cargo_common_metadata", "-A", "clippy::multiple_crate_versions"]