summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/package.json b/ui/package.json
index 987d4c42..a2767e4a 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -57,7 +57,7 @@
"engineStrict": true,
"husky": {
"hooks": {
- "pre-commit": "cargo fmt --manifest-path ../server/Cargo.toml && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
+ "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
}
},
"lint-staged": {
@@ -67,6 +67,7 @@
"git add"
],
"../server/src/**/*.rs": [
+ "rustfmt --config-path ../server/.rustfmt.toml",
"git add"
],
"package.json": [