add .editorconfig (#25)

This commit is contained in:
Xaver Maierhofer 2016-05-22 12:30:44 +02:00 committed by PetaByteBoy // Milan Pässler
parent 9719385076
commit 3971c36250

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
charset = utf-8
# Get rid of whitespace to avoid diffs with a bunch of EOL changes
trim_trailing_whitespace = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,html,scss,json}]
indent_size = 2
indent_style = space