From 715c6390c9476a0a6b654a457218bb52c971d741 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Fri, 18 Dec 2020 17:02:40 +0100 Subject: [PATCH] git(hook): add pre-commit hook fmt check --- .rusty-hook.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .rusty-hook.toml diff --git a/.rusty-hook.toml b/.rusty-hook.toml new file mode 100644 index 0000000..36953ed --- /dev/null +++ b/.rusty-hook.toml @@ -0,0 +1,5 @@ +[hooks] +pre-commit = "cargo fmt -- --check" + +[logging] +verbose = true -- GitLab