Added .editorconfig

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
This commit is contained in:
Nanobyte 2020-08-13 23:32:38 +02:00
parent fc48198ac4
commit b073b3be8d

18
.editorconfig Normal file
View file

@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,json,ts,tsx}]
charset = utf-8
indent_style = space
indent_size = 4
[package.json]
indent_style = space
indent_size = 2