Merge pull request #790 from xf-/feature/editorconfig

Add editorconfig
This commit is contained in:
Sami Vänttinen 2020-02-28 15:58:51 +02:00 committed by GitHub
commit be0ebef9da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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