added editorconfig

This commit is contained in:
Steffen Vogel 2017-09-20 13:58:07 +02:00
parent 7af8c632b0
commit 12d60786a4
1 changed files with 17 additions and 0 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
# EditorConfig is awesome: http://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
# Matches multiple files with brace expansion notation
# Set default charset
[*.js]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace=true