Add .editorconfig

This commit is contained in:
Christopher Willis-Ford 2016-06-08 09:27:01 -07:00
parent 9f59b42901
commit 74deedba1b
2 changed files with 15 additions and 0 deletions

14
.editorconfig Normal file
View file

@ -0,0 +1,14 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 4
trim_trailing_whitespace = true
[*.{js,jsx,html}]
indent_style = space
[*.{frag,vert}]
indent_style = tab

1
.gitattributes vendored
View file

@ -19,6 +19,7 @@
*.xml text eol=lf *.xml text eol=lf
# Prefer LF for these files # Prefer LF for these files
.editorconfig text eol=lf
.eslintrc text eol=lf .eslintrc text eol=lf
.gitattributes text eol=lf .gitattributes text eol=lf
.gitignore text eol=lf .gitignore text eol=lf