From 690d0b3956af6a1e8500e4bfd7e1c189f3ae18d8 Mon Sep 17 00:00:00 2001 From: Til Blechschmidt Date: Fri, 5 Mar 2021 15:11:49 +0100 Subject: [PATCH] :rotating_light: Make linter more pedantic and check all files on commit --- .rusty-hook.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rusty-hook.toml b/.rusty-hook.toml index 316c2520..ce4a9fbb 100644 --- a/.rusty-hook.toml +++ b/.rusty-hook.toml @@ -1,5 +1,5 @@ [hooks] -pre-commit = "cd core && cargo fmt --all && cargo clippy -- -D warnings" +pre-commit = "cd core && cargo fmt --all && find src -name '*.rs' | xargs touch && cargo clippy -- -D warnings" [logging] verbose = true