Add prettier and run prettier command via lint-staged

This commit is contained in:
maskeynihal
2023-10-10 13:17:18 +05:45
parent c908a32448
commit 39908dcadd
5 changed files with 80 additions and 21 deletions

9
.prettierrc.json Normal file
View File

@@ -0,0 +1,9 @@
{
"singleQuote": true,
"trailingComma": "all",
"vueIndentScriptAndStyle": true,
"htmlWhitespaceSensitivity": "ignore",
"printWidth": 100,
"tabWidth": 4,
"singleAttributePerLine": true
}