"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": {
"git add"
],
"../server/src/**/*.rs": [
+ "rustfmt --config-path ../server/.rustfmt.toml",
"git add"
],
"package.json": [