Add a .editorconfig

Fixes #179
This commit is contained in:
Bat 2018-09-01 21:30:03 +01:00
parent 52860efa85
commit e752c2a4de
1 changed files with 17 additions and 0 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{js,rs,css,tera}]
charset = utf-8
[*.{rs,tera,css}]
indent_style = space
indent_size = 4
[*.js]
indent_style = space
indent_size = 2