Add prettier configuration

This commit is contained in:
Maurice Oegerli 2021-04-07 13:42:32 +02:00
parent b1f8899bd8
commit bbea6116af
2 changed files with 13 additions and 0 deletions

2
.prettierignore Normal file
View File

@ -0,0 +1,2 @@
dist
node_modules

11
.prettierrc.json Normal file
View File

@ -0,0 +1,11 @@
{
"singleQuote": false,
"trailingComma": "all",
"semi": true,
"tabWidth": 4,
"embeddedLanguageFormatting": "auto",
"endOfLine": "lf",
"printWidth": 120,
"vueIndentScriptAndStyle": false,
"quoteProps": "as-needed"
}