WIP: add formatting doc and pre-commit #7
|
@ -27,4 +27,4 @@ You will first need to [install rust-analyzer](https://rust-analyzer.github.io/m
|
||||||
|
|
||||||
If you want to think about formatting your code less and just have git yell at you whe you try to commit code that is not properly formatted, you can use a simple pre-commit hook.
|
If you want to think about formatting your code less and just have git yell at you whe you try to commit code that is not properly formatted, you can use a simple pre-commit hook.
|
||||||
|
|
||||||
After cloning the repo, the file `pre-commit-hook` to `.git/hooks/pre-commit`. That's it.
|
After cloning the repo, the file `pre-commit` to `.git/hooks/pre-commit`. That's it.
|
||||||
enot marked this conversation as resolved
Outdated
|
Loading…
Reference in New Issue
missing a verb in this line?
Indeed, thank you.