Add prettier, configs and editorconfig

This commit is contained in:
rejas
2020-03-28 06:56:30 +01:00
committed by Veeck
parent 8a1f9b7de6
commit c202c0d705
11 changed files with 118 additions and 341 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 250
trim_trailing_whitespace = true
[*.{js,json}]
indent_size = 4
indent_style = tab