diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7a5d9d3 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitattributes b/.gitattributes index 2dcfc69..103710f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -19,6 +19,7 @@ *.xml text eol=lf # Prefer LF for these files +.editorconfig text eol=lf .eslintrc text eol=lf .gitattributes text eol=lf .gitignore text eol=lf