Add editorconfig

This commit is contained in:
Xaver Maierhofer 2020-02-28 14:03:53 +01:00
parent 055203669e
commit bbf66eabff
No known key found for this signature in database
GPG key ID: 7FDCE23FD2EC9FE8

19
.editorconfig Normal file
View file

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