Standardize editor configs for cross-platform development (#628)

This commit is contained in:
Yangshun Tay 2018-05-03 10:23:21 -07:00 committed by Joel Marcey
parent 34d86f760b
commit c31ab6846f
2 changed files with 19 additions and 0 deletions

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 80
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

3
.gitattributes vendored Normal file
View file

@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf