Skip to content

Commit

Permalink
Add .editorconfig, consolidate .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Repiteo committed Jun 25, 2024
1 parent c414c2b commit 7a96d03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7a96d03

Please sign in to comment.