add prettier and reformat project

This commit is contained in:
open-schnick 2023-04-10 23:28:28 +02:00
parent c86873fc28
commit 795305b333
No known key found for this signature in database
GPG key ID: B1FA75F86D28E80E
30 changed files with 473 additions and 616 deletions

15
frontend/.prettierrc Normal file
View file

@ -0,0 +1,15 @@
{
"useTabs": false,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"embeddedLanguageFormatting": "auto",
"endOfLine": "lf",
"printWidth": 100,
"vueIndentScriptAndStyle": false
}