Add a .editorconfig

This commit is contained in:
Lorenz Hübschle-Schneider 2016-01-06 21:05:16 +01:00
parent 912a9b45dc
commit 07d706d825
1 changed files with 19 additions and 0 deletions

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Indent JS with four spaces
[*.js]
indent_style = space
indent_size = 4
# Indent HTML with two spaces
[*.html]
indent_style = space
indent_size = 2