WIP: add formatting doc and pre-commit #7

Draft
enot wants to merge 3 commits from docs-formatting into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit acfec3b97e - Show all commits

View File

@ -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.