mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Style: Consolidate & migrate GDScript .editorconfig
• Moved to test project root so a new `.editorconfig` isn't constantly generated. • Disable attributes only in the files which use invalid syntax deliberately
This commit is contained in:
parent
74de05a01c
commit
bf811db6c8
@ -1,8 +1,3 @@
|
||||
[*.gd]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.out]
|
||||
insert_final_newline = true
|
||||
|
12
modules/gdscript/tests/scripts/.editorconfig
Normal file
12
modules/gdscript/tests/scripts/.editorconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# This file is required to workaround `.editorconfig` autogeneration (see #96845).
|
||||
|
||||
# Some tests handle invalid syntax deliberately; exclude relevant attributes.
|
||||
|
||||
[parser/features/mixed_indentation_on_blank_lines.gd]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[parser/warnings/empty_file_newline.notest.gd]
|
||||
insert_final_newline = false
|
||||
|
||||
[parser/warnings/empty_file_newline_comment.notest.gd]
|
||||
insert_final_newline = false
|
@ -1,2 +0,0 @@
|
||||
[*.{gd,out}]
|
||||
trim_trailing_whitespace = false
|
Loading…
Reference in New Issue
Block a user