Add pre-commit hook to format files

This commit is contained in:
Marko Korhonen 2022-09-16 19:21:54 +03:00
parent f8ceedfd01
commit 2a9a3e5a2a
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
9 changed files with 1031 additions and 147 deletions

4
.prettierrc.toml Normal file
View file

@ -0,0 +1,4 @@
"$schema" = "https://json.schemastore.org/prettierrc.json"
trailingComma = "es5"
singleQuote = true
tabWidth = 2