add .editorconfig

Makes contributing and not messing up the codestyle easier
This commit is contained in:
Willyb321
2018-03-22 12:07:19 +11:00
parent c2a0dad9a8
commit 83571b4bef

21
.editorconfig Normal file
View File

@@ -0,0 +1,21 @@
root = true
[*]
# change these settings to your own preference
indent_style = space
indent_size = 4
# we recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[{package,bower}.json]
indent_style = space
indent_size = 2