Add `.editorconfig`, consolidate `.gitattributes`

pull/1506/head
Thaddeus Crews 2024-06-25 08:46:06 -05:00
parent c414c2b37d
commit 7a96d0314e
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
2 changed files with 18 additions and 6 deletions

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[{*.py,SConstruct}]
indent_style = space
[*.{yml,yaml}]
indent_size = 2
indent_style = space

8
.gitattributes vendored
View File

@ -1,6 +1,2 @@
*.c eol=lf
*.cpp eol=lf
*.gd eol=lf
*.tscn eol=lf
*.cfg eol=lf
*.godot eol=lf
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf