chore: Adds formatting.
Co-authored-by: dess <devessa@users.noreply.github.com>
This commit is contained in:
parent
6cf26da4df
commit
42a6d2ea02
33 changed files with 1235 additions and 1032 deletions
6
.githooks/pre-commit
Executable file
6
.githooks/pre-commit
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
shopt -s globstar
|
||||
"$(git rev-parse --show-toplevel)"/api/node_modules/.bin/prettier --ignore-unknown --write $(git rev-parse --show-toplevel)/api/src/**/*.ts
|
||||
rustfmt $(git rev-parse --show-toplevel)/gui/src/**/*.rs
|
||||
git update-index --again
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue