updated prettier config

This commit is contained in:
Fractal-Tess
2022-09-12 20:30:33 +03:00
parent 71237c8ff6
commit 970c13f594
2 changed files with 9 additions and 8 deletions

9
.prettierrc Normal file
View File

@@ -0,0 +1,9 @@
{
"useTabs": false,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 80,
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}

View File

@@ -1,8 +0,0 @@
module.exports = {
singleQuote: true,
trailingComma: 'none',
tabWidth: 2,
printWidth: 80,
arrowParens: 'avoid',
plugins: [require('prettier-plugin-svelte')]
};