add prettierrc and editorconfig

This commit is contained in:
Oscar 2019-11-08 09:14:03 +01:00
parent 65ad10b232
commit bc52c463b2
2 changed files with 13 additions and 0 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root=true
[*]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
line_length = 120

5
.prettierrc Normal file
View File

@ -0,0 +1,5 @@
{
"semi": true,
"singleQuote": true,
"useTabs": false
}