Add prettier configuration
This commit is contained in:
parent
b1f8899bd8
commit
bbea6116af
2 changed files with 13 additions and 0 deletions
2
.prettierignore
Normal file
2
.prettierignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
dist
|
||||
node_modules
|
11
.prettierrc.json
Normal file
11
.prettierrc.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"singleQuote": false,
|
||||
"trailingComma": "all",
|
||||
"semi": true,
|
||||
"tabWidth": 4,
|
||||
"embeddedLanguageFormatting": "auto",
|
||||
"endOfLine": "lf",
|
||||
"printWidth": 120,
|
||||
"vueIndentScriptAndStyle": false,
|
||||
"quoteProps": "as-needed"
|
||||
}
|
Loading…
Reference in a new issue