diff options
Diffstat (limited to 'ui/package.json')
-rw-r--r-- | ui/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/package.json b/ui/package.json index f816b4f6..afcb8a39 100644 --- a/ui/package.json +++ b/ui/package.json @@ -58,7 +58,7 @@ "engineStrict": true, "husky": { "hooks": { - "pre-commit": "lint-staged" + "pre-commit": "cargo fmt --manifest-path ../server/Cargo.toml && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged" } }, "lint-staged": { @@ -67,6 +67,9 @@ "eslint --fix", "git add" ], + "../server/src/**/*.rs": [ + "git add" + ], "package.json": [ "sortpack", "git add" |