mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Style: Unify .editorconfig
logic
This commit is contained in:
parent
5b52b4b5c4
commit
9d0c41a489
4 changed files with 6 additions and 20 deletions
|
@ -3,24 +3,18 @@ root = true
|
|||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{cpp,hpp,c,h,mm}]
|
||||
max_line_length = 120
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.gradle,AndroidManifest.xml}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[{*.py,SConstruct,SCsub}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# YAML requires indentation with spaces instead of tabs.
|
||||
[{*.{yml,yaml},.clang{-format,-tidy,d}}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.svg]
|
||||
insert_final_newline = false
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[*.gd]
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
|
@ -2,21 +2,14 @@
|
|||
end_of_line = crlf
|
||||
charset = utf-8-bom
|
||||
|
||||
[*.sln]
|
||||
indent_style = tab
|
||||
|
||||
[*.{csproj,props,targets,nuspec,resx}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.cs]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 120
|
||||
csharp_indent_case_contents_when_block = false
|
||||
|
||||
csharp_indent_case_contents_when_block = false
|
||||
csharp_new_line_before_open_brace = all
|
||||
csharp_new_line_before_else = true
|
||||
csharp_new_line_before_catch = true
|
||||
|
|
2
platform/android/.editorconfig
Normal file
2
platform/android/.editorconfig
Normal file
|
@ -0,0 +1,2 @@
|
|||
[{*.gradle,AndroidManifest.xml}]
|
||||
indent_style = space
|
Loading…
Reference in a new issue