add editorconfig

http://editorconfig.org/
This commit is contained in:
William Boman 2016-04-01 13:23:52 +02:00
parent 0209375865
commit 6e0309d441
1 changed files with 20 additions and 0 deletions

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.json]
indent_size = 2