Skip to content

Commit 7a96d03

Browse files
committed
Add .editorconfig, consolidate .gitattributes
1 parent c414c2b commit 7a96d03

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = tab
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[{*.py,SConstruct}]
12+
indent_style = space
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
indent_style = space

.gitattributes

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
*.c eol=lf
2-
*.cpp eol=lf
3-
*.gd eol=lf
4-
*.tscn eol=lf
5-
*.cfg eol=lf
6-
*.godot eol=lf
1+
# Normalize EOL for all files that Git considers text files
2+
* text=auto eol=lf

0 commit comments

Comments
 (0)