Skip to content
Snippets Groups Projects
Commit b35d40c8 authored by Éloïs's avatar Éloïs
Browse files

[style] git: add rustfmt check to pre-commit hook

parent 833a00a9
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "cargo fmt -- --check && lint-staged"
} }
}, },
"lint-staged": { "lint-staged": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment