all: add prettier & editorconfig

This commit is contained in:
halozat 2024-10-04 10:28:33 +02:00
parent fea07b9649
commit 5806ee4a52
3 changed files with 15 additions and 0 deletions

3
.editorconfig Normal file
View File

@ -0,0 +1,3 @@
[*.{js,ts,svelte,json}]
indent_style = space
indent_size = 4

1
.prettierignore Normal file
View File

@ -0,0 +1 @@
*.md

11
.prettierrc.json Normal file
View File

@ -0,0 +1,11 @@
{
"printWidth": 100,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
"trailingComma": "all",
"arrowParens": "always"
}