We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b1e649 commit 61f04faCopy full SHA for 61f04fa
.cargo-husky/hooks/pre-commit
@@ -0,0 +1,7 @@
1
+#!/bin/sh -xe
2
+
3
+cargo clippy --features=community -- -D warnings
4
+cargo clippy --features=entreprise -- -D warnings
5
6
+# Check fmt (protip: run 'cargo fmt --all -- --emit files' to apply format locally)
7
+cargo fmt --all -- --check
Cargo.toml
@@ -13,7 +13,7 @@ regex = "1.10.4"
13
[dev-dependencies.cargo-husky]
14
version = "1"
15
default-features = false # Disable features which are enabled by default
16
-features = ["precommit-hook", "run-cargo-clippy", "run-cargo-fmt"]
+features = ["user-hooks"]
17
18
[build-dependencies]
19
bindgen = "0.69.4"
0 commit comments